Hide Table of Contents
CreateBoundedSurface Method (IBody2)

Creates a bounded surface from an independent base surface.

.NET Syntax

Visual Basic (Declaration) 
Function CreateBoundedSurface( _
   ByVal UOpt As System.Boolean, _
   ByVal VOpt As System.Boolean, _
   ByVal UvParams As System.Object _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IBody2
Dim UOpt As System.Boolean
Dim VOpt As System.Boolean
Dim UvParams As System.Object
Dim value As System.Boolean
 
value = instance.CreateBoundedSurface(UOpt, VOpt, UvParams)
C# 
System.bool CreateBoundedSurface( 
   System.bool UOpt,
   System.bool VOpt,
   System.object UvParams
)
C++/CLI 
System.bool CreateBoundedSurface( 
&   System.bool UOpt,
&   System.bool VOpt,
&   System.Object^ UvParams
) 

Parameters

UOpt

True if U parameter range is given in uvData, false for the entire U parameter range

VOpt

True if V parameter range is given in uvData, false for the entire V parameter range

UvParams

Array of 4 doubles (see Remarks)

Return Value

True if bounded surface creation was successful, false if not

Remarks

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

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::CreateNewBody first, which arranges for a placeholder for this bounded surface.

 

See Also

Availability

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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CreateBoundedSurface Method (IBody2)
*Comment:  
*   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:

x

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
x

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.