ICreateBsplineSurface Method (IModeler)

Creates a b-spline surface.

# .NET Syntax

Visual Basic (Declaration)
```Function ICreateBsplineSurface( _
ByRef Properties As Integer, _
ByRef UKnotArray As Double, _
ByRef VKnotArray As Double, _
ByRef ControlPointCoordArray As Double _
) As Surface```
Visual Basic (Usage)
``````Dim instance As IModeler
Dim Properties As Integer
Dim UKnotArray As Double
Dim VKnotArray As Double
Dim ControlPointCoordArray As Double
Dim value As Surface

value = instance.ICreateBsplineSurface(Properties, UKnotArray, VKnotArray, ControlPointCoordArray)``````
C#
```Surface ICreateBsplineSurface(
ref int Properties,
ref double UKnotArray,
ref double VKnotArray,
ref double ControlPointCoordArray
)```
C++/CLI
```Surface^ ICreateBsplineSurface(
&   int% Properties,
&   double% UKnotArray,
&   double% VKnotArray,
&   double% ControlPointCoordArray
) ```

#### Parameters

Properties
Array of 8 integers (see Remarks)
UKnotArray
Array of numUKnots (see Remarks)
VKnotArray
Array of numVKnots (see Remarks)
ControlPointCoordArray
Array of numCtrlPtCoord (see Remarks)

Surface

# Remarks

 Number of elements in this array... Given by... UKnots numUKnots = numU_CtrlPoints + Uorder VKnots numVKnots = numV_CtrlPoints + Vorder CtrlPtCoords numCtrlPtCoord =( NumV_CtrlPoints * NumU_CtrlPoints * DimensionControlPoints )

For periodics, the first knot must have multiplicity = 1 and all excess multiplicity must be imposed on the last knot. Therefore, a valid periodic knot vector would be { 0, 1, 2, 3, 3, 3 } for a cubic curve. The control point on the seam of the closed curve cannot be replicated at both ends; it should occur only at the beginning.

To convert from a clamped periodic curve (numKnots = numCtrlPts + Order, ctrlPts replicated, knot multiplicity = order at each end) to a SolidWorks periodic curve, remove all but one of the knots at the beginning of the vector and remove one at the end. Also remove the last control point to avoid the point replication.

Provide feedback on this topic

* Required

 *Email: Subject: Feedback on Help Topics Page: ICreateBsplineSurface Method (IModeler) *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) 2010 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.