Returns the degree of the surface mesh as an Integer.
// get accessor Int32 rtn = KnotCollection.Degree; |
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
|