Returns a complete data description of a NurbsSurfaceMesh.
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: NurbsSurfaceMesh.Get2.
NurbsSurfaceMesh.Get( siNurbsFormat in_eNurbsFormat, Object& out_pvsalCount, Object& out_pvsaUVControlPoints, Object& out_pvsaNbUControlPoints, Object& out_pvsaNbVControlPoints, Object& out_pvsadUKnots, Object& out_pvsaNbUKnots, Object& out_pvsadVKnots, Object& out_pvsaNbVKnots, Object& out_pvsabUClosed, Object& out_pvsabVClosed, Object& out_pvsalUDegree, Object& out_pvsalVDegree, Object& out_pvsaeUParam, Object& out_pvsaeVParam ); |
NurbsSurfaceMesh.Get( [NurbsFormat], [Count], [UVControlPoints], [NbUControlPoints], [NbVControlPoints], [UKnots], [NbUKnots], [VKnots], [NbVKnots], [UClosed], [VClosed], [UDegree], [VDegree], [UParam], [VParam] ); |
Parameter | Type | Description |
---|---|---|
NurbsFormat | siNurbsFormat | Specifies how the data is formatted.
Default Value: siSINurbs |
Count | Long | Number of NurbsSurface in the mesh. |
UVControlPoints | 3D Array | The control points are stored in a 3 dimensional array. The array is 4 * (Number of V ControlPoints) * (Number of U ControlPoints) |
NbUControlPoints | Array of Longs | Specifies the number of U ControlPoints per Nurbs surface. |
NbVControlPoints | Array of Longs | Specifies the number of V ControlPoints per Nurbs surface. |
UKnots | Array of Doubles | An array of knot values in U direction. |
NbUKnots | Array of Longs | Specifies the number of U Knots per Nurbs surface. |
VKnots | Array of Doubles | An array of knot values in V direction. |
NbVKnots | Array of Longs | Specifies the number of V Knots per Nurbs surface. |
UClosed | Array of Boolean values | Specifies whether the Nurbs surface are closed in U direction. |
VClosed | Array of Boolean values | Specifies whether the Nurbs surfaces are closed in V direction. |
UDegree | Array of Longs | Degree of the Nurbs surfaces in U direction. |
VDegree | Array of Longs | Degree of the Nurbs surfaces in V direction. |
UParam | Array of siKnotParameterization values | The parameterization factor of the Nurbs surface in U direction. |
VParam | Array of siKnotParameterization values | The parameterization factor of the Nurbs surface in V direction. |
set obj = activeproject.activescene.root.addgeometry( "grid", "nurbssurface" ) obj.activeprimitive.Geometry.Get siSIFormat, _ count, _ cpoints, _ nupoints, _ nvpoints, _ uknots, _ nuknots, _ vknots, _ nvknots, _ uclosed, _ vclosed, _ udeg, _ vdeg, _ uparam, _ vparam activeproject.activescene.root.AddNurbsSurfaceMesh2 _ 1, _ cpoints, , ,_ uknots, ,_ vknots, ,_ udeg, _ vdeg, _ uclosed, _ vclosed, _ uparam, _ vparam, _ siSIFormat, _ "MyNurbsSurface" |