AddNurbsSurfaceMe sh (X3DObject)

Description

This method is obsolete and has been replaced by X3DObject.AddNurbsSurfaceMesh2.

Creates an empty NurbsSurfaceMesh object and parents it under this object.

Scripting Syntax

    X3DObject.AddNurbsSurfaceMesh( Count, ControlPoints, [UKnots], [VKnots], [UClosed], [VClosed], [UDegree], [VDegree], [UParam], [VParam], [NurbsFormat], [Name] )

C# Syntax

    X3DObject X3DObject.AddNurbsSurfaceMesh( Object in_Count, Object in_ControlPoints, Object in_uKnots, Object in_vKnots, Object in_bUClosed, Object in_bVClosed, Object in_lUDegree, Object in_lVDegree, Object in_uParameterization, Object in_vParameterization, siNurbsFormat in_eNurbsFormat, String in_bstrName );

Parameters

Parameter | Type | Description
Count | 2D Array | Number of control vertex, uknots, vknots per surface
ControlPoints | 1D or 3D Array | The control points used for creating the nurbs surface. The control points can be stored in a 1-dimensional array or in a 3-dimensional matrix (UxVx4) of x,y,z,w values. The 1-dimensional array should contain the number of points in U and V at the beginning followed by a sequence of x,y,z,w values (e.g. {U,V,Xo,Yo,Zo,...X(uv-1),Y(uv-1),Z(uv-1),W(uv-1)}).
UKnots | Array | A vector of knot values in the U direction. Default Value: Knots derived from control points.
VKnots | Array | A vector of knot values in the V direction. Default Value: Knots derived from control points.
UClosed | Array of Booleans | Specifies whether the nurbs surface is closed or not in U direction. Default Value: False
VClosed | Array of Booleans | Specifies whether the nurbs surface is closed or not in V direction. Default Value: False
UDegree | Array of Longs | Degree of the nurbs surface in U direction. Default Value: 3
VDegree | Array of Longs | Degree of the nurbs surface in V direction. Default Value: 3
UParam | Array of siKnotParameterization | The parameterization factor of the nurbs surface in U direction. Default Value: siNonUniformParameterization
VParam | Array of siKnotParameterization | The parameterization factor of the nurbs surface in V direction. Default Value: siNonUniformParameterization
NurbsFormat | siNurbsFormat | Specifies how the data is formatted. Default Value: siSINurbs
Name | String | Name of object

Return Value

X3DObject

Examples

VBScript Example

    NewScene , false
    set root = Application.ActiveProject.ActiveScene.Root
    set ns = root.AddNurbsSurfaceMesh()

See Also

NurbsSurface

Autodesk Softimage v7.5