Applies To
Geometry_V1 object
Description
This illustrates how to create a cube and access the automation object for the geometry from the selection.
Code
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"Keywords
Geometry_V1 Geometry0D Geometry1D Geometry2D Nb0D Nb1D Nb2D
Autodesk Softimage 2011