Degree (KnotCollection)

Description

Returns the degree of the surface mesh as an Integer.

C# Syntax

    // get accessor
    Int32 rtn = KnotCollection.Degree;

Examples

VBScript Example

    set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Sphere","NurbsSurface")
    set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry
    set oUKnots = oNurbsSurfaceMesh.Surfaces(0).Knots(siUDirection)
    logmessage "NurbsSurface degree in U = " & oUKnots.Degree

Autodesk Softimage v7.5