KnotCollection.Degree

Description

Returns the degree of the surface mesh as an Integer.

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