Returns a Boolean value indicating whether surface mesh is closed (true) or not.
set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Sphere","NurbsSurface") set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry set oUKnots = oNurbsSurfaceMesh.Surfaces(0).Knots(siUDirection) if oUKnots.Closed then logmessage "NurbsSurface is closed in U" end if |