Hide Table of Contents
ICreateBoundedSurface Method (IBody2)

Creates a bounded surface from an independent base surface.

.NET Syntax

Visual Basic (Declaration) 
Sub ICreateBoundedSurface( _
   ByVal UOpt As System.Boolean, _
   ByVal VOpt As System.Boolean, _
   ByRef UvParams As System.Double _
Visual Basic (Usage) 
Dim instance As IBody2
Dim UOpt As System.Boolean
Dim VOpt As System.Boolean
Dim UvParams As System.Double
instance.ICreateBoundedSurface(UOpt, VOpt, UvParams)
void ICreateBoundedSurface( 
   System.bool UOpt,
   System.bool VOpt,
   ref System.double UvParams
void ICreateBoundedSurface( 
&   System.bool UOpt,
&   System.bool VOpt,
&   System.double% UvParams


True if U parameter range is given in uvData, false for the entire U parameter range
True if V parameter range is given in uvData, false for the entire V parameter range
Array of 4 doubles (see Remarks)


Before you use this method, you must call one of the base surface creation methods, such as IBody2::ICreateBsplineSurface.

The UOpt and VOpt arguments allow the application to supply parameter range information so that a bounded surface can be made up from part of the base surface. If UOpt and VOpt are both set to false, then SOLIDWORKS uses the entire parameter ranges. This method fails for surfaces with infinite parameter ranges.

UvParams contains 4 doubles describing the UV parameter ranges.

U parameter range

uvData[0] and uvData[1]; UvData[0] must be less than uvData[1]

V parameter range 

uvData[2] and uvData[3]; UvData[2] must be less than uvData[3]

To construct a solid body from bounded surfaces, call IPartDoc::ICreateNewBody2 first, which arranges for a placeholder for this bounded surface.


See Also


SOLIDWORKS 2001Plus FCS, Revision Number 10.0

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   ICreateBoundedSurface Method (IBody2)
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2017 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.