Hide Table of Contents
GetBSurfParams3 Method (ISurface)

Gets the parameterization data for a B-spline surface.

.NET Syntax

Visual Basic (Declaration) 
Function GetBSurfParams3( _
   ByVal WantCubic As System.Boolean, _
   ByVal WantNonRational As System.Boolean, _
   ByVal VP0 As System.Object, _
   ByVal Tolerance As System.Double, _
   ByRef Sense As System.Boolean _
) As BSurfParamData
Visual Basic (Usage) 
Dim instance As ISurface
Dim WantCubic As System.Boolean
Dim WantNonRational As System.Boolean
Dim VP0 As System.Object
Dim Tolerance As System.Double
Dim Sense As System.Boolean
Dim value As BSurfParamData
value = instance.GetBSurfParams3(WantCubic, WantNonRational, VP0, Tolerance, Sense)
BSurfParamData GetBSurfParams3( 
   System.bool WantCubic,
   System.bool WantNonRational,
   System.object VP0,
   System.double Tolerance,
   out System.bool Sense
BSurfParamData^ GetBSurfParams3( 
&   System.bool WantCubic,
&   System.bool WantNonRational,
&   System.Object^ VP0,
&   System.double Tolerance,
&   [Out] System.bool Sense


True if cubic is needed, false if not; specifying true converts any surface to a cubic B-spline surface

True if non-rational is needed, false if not; specifying true converts any surface to a non-rational B-spline surface; if you specify true, then you should only use this method for surfaces that are of B-spline or blend type; otherwise, the underlying call is not made and the values returned from this are not initialized, or they contain the values from the last call


Tolerance, in meters, between the approximated B-spline surface and the underlying surface; the default value is 0.01 and should generally be reduced to the tolerance desired


Approximated B-spline surface is not always in the same direction as the original surface; if Sense is true, then the underlying surface and the B-spline surface are in the same direction

Return Value

An IBSurfParamData object



Before calling this method, call ISurface:Parameterization2 to populate VP0.

If you want to use the B-spline surface in combination with its trim curves, you should use the IFace2::GetTrimCurves2 method to extract both the trim curves and the B-spline surface. The IFace2::GetTrimCurves2 method provides much better alignment of the trim curves with the B-spline surface, because they are both generated at the same time.


See Also


SolidWorks 2011 FCS, Revision Number 19.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:   GetBSurfParams3 Method (ISurface)
*   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) 2013 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.