サーフェイスメッシュがオプションであるか(true)ないか(false)を示すBoolean値を戻します。
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 |