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