v1.0
このオブジェクトは廃止されたオブジェクトであり、Geometry オブジェクトに置き換えられています。このジオメトリオブジェクトは、シーン内の任意の 3d オブジェクトのジオメトリ(ポリゴンメッシュやNURBS サーフェイスなど)にアクセスするプロパティを提供します。ポリゴンメッシュジオメトリには、ポイント、エッジ、およびポリゴンがあり、それぞれGeometry0Dオブジェクト、Geometry1Dオブジェクト、およびGeometry2Dオブジェクトで表されます。PolygonNodes はGeometry2Dの0D2Dプロパティからアクセスされます。Nurbs Surfaceジオメトリはそのコントロールポイントを持ち、サーフェイスはGeometry0DオブジェクトおよびGeometry2Dオブジェクトで表されます。
' this illustrates how to create a cube and access the automation object
' for the geometry from the selection.
CreatePrim "Cube", "MeshSurface"
set oSelList = GetValue("SelectionList")
set oItem = oSelList(0)
set oGeometry_V1 = oItem.obj
logmessage oItem & " has: " & _
oGeometry_V1.Nb0D & " points, " & _
oGeometry_V1.Nb1D & " edges and " & _
oGeometry_V1.Nb2D & " polygons" |