Get (NurbsCurveList) *
Description
Returns a complete data description of a Nurbs Curve list.
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: NurbsCurveList.Get2.
Scripting Syntax
NurbsCurveList.Get( [NurbsFormat], Count, ControlPoints, [NbControlPoints], [Knots], [NbKnots], [Closed], [Degree], [Parameterization] )
C# Syntax
NurbsCurveList.Get( siNurbsFormat in_eNurbsFormat, Object& out_vsalCount, Object& out_vsaControlPoints, Object& out_vsaNbControlPoints, Object& out_vsadKnots, Object& out_vsaNbKnots, Object& out_vsasClosed, Object& out_vsalDegree, Object& out_vsalParameterization );Parameters
|
Parameter |
Type |
Description |
|
NurbsFormat |
Specifies how the data is formatted. Default Value: siSINurbs |
|
|
Count [out] |
Number of NurbsCurve in the NurbsCurveList |
|
|
ControlPoints [out] |
2D Array |
The control points are stored in a 2 dimensional array. The array is a 4 x Number of U ControlPoints. |
|
NbControlPoints [out] |
Specifies the number of ControlPoints per NurbsCurve. |
|
|
Knots [out] |
An array of knot values. |
|
|
NbKnots [out] |
Specifies the number of Knots per NurbsCurve. |
|
|
Closed [out] |
Specifies whether the nurbs curve is closed . Default Value: False |
|
|
Degree [out] |
Degree of the nurbs curves. Default Value: 3 |
|
|
Parameterization [out] |
The parameterization factor of the nurbs curve. |
Examples
• See NurbsCurveList.Get.1.vbs
Autodesk Softimage 2011