Returns a complete data description of the Nurbs Curve.
Note: This method uses output
arguments. C# and some scripting languages (such as JScript and
PerlScript) don't support arguments passed by reference. However,
there is a alternate version of this method which is considered
safe to use with C#, JScript and PerlScript: NurbsCurve.Get2.
NurbsCurve.Get( [NurbsFormat], ControlPoints, [Knots], [Closed], [Degree], Parameterization ); |
Parameter | Type | Description |
---|---|---|
NurbsFormat | siNurbsFormat | Specifies how the data is formatted.
Default Value: siSINurbs |
ControlPoints | 2D Array | The control points are stored in a 2 dimensional array. The array is a 4 * Number of U ControlPoints |
Knots | Array of Doubles | An array of knot values. |
Closed | Boolean | Specifies whether the nurbs curve is closed . |
Degree | Long | Degree of the nurbs curves. |
Parameterization | siKnotParameterization | The parameterization factor of the nurbs curve. |
Dim lDegree, bClosed, eParameterization, aControlVertex, aKnots set oRoot = application.ActiveProject.ActiveScene.Root set oSpiral = oRoot.AddGeometry( "Arc", "NurbsCurve" ) oSpiral.ActivePrimitive.Geometry.Curves(0).Get siSINurbs, aControlVertex, aKnots, _ bClosed, lDegree, eParameterization ' Create new nurbs curve list from arc data. set oNurbsCurveList = oRoot.AddNurbsCurve( aControlVertex, aKnots, bClosed, _ lDegree, eParameterization, siSINurbs ) |