Get (NurbsSurfaceMesh) *

Description

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.

Scripting Syntax

    NurbsSurfaceMesh.Get( [NurbsFormat], [Count], [UVControlPoints], [NbUControlPoints], [NbVControlPoints], [UKnots], [NbUKnots], [VKnots], [NbVKnots], [UClosed], [VClosed], [UDegree], [VDegree], [UParam], [VParam] )

C# Syntax

    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 );

Parameters

Parameter | Type | Description
NurbsFormat | siNurbsFormat | Specifies how the data is formatted. Default Value: siSINurbs
Count [out] | 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 [out] | Array of Longs | Specifies the number of U ControlPoints per Nurbs surface.
NbVControlPoints [out] | Array of Longs | Specifies the number of V ControlPoints per Nurbs surface.
UKnots [out] | Array of Doubles | An array of knot values in U direction.
NbUKnots [out] | Array of Longs | Specifies the number of U Knots per Nurbs surface.
VKnots [out] | Array of Doubles | An array of knot values in V direction.
NbVKnots [out] | Array of Longs | Specifies the number of V Knots per Nurbs surface.
UClosed [out] | Array of Boolean values | Specifies whether the Nurbs surface are closed in U direction.
VClosed [out] | Array of Boolean values | Specifies whether the Nurbs surfaces are closed in V direction.
UDegree [out] | Array of Longs | Degree of the Nurbs surfaces in U direction.
VDegree [out] | Array of Longs | Degree of the Nurbs surfaces in V direction.
UParam [out] | Array of siKnotParameterization values | The parameterization factor of the Nurbs surface in U direction.
VParam [out] | Array of siKnotParameterization values | The parameterization factor of the Nurbs surface in V direction.

Examples

VBScript Example

    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"

Autodesk Softimage v7.5