Returns the degree of the surface mesh as an Integer.
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 |