カーブの長さを Double として戻します。
// get accessor Double rtn = NurbsCurve.Length; |
set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Arc","NurbsCurve") set oNurbsCurveList = oObject.ActivePrimitive.Geometry set oNurbsCurve = oNurbsCurveList.Curves(0) logmessage oNurbsCurve.Length |