Geometry_V1.Nb2D
 
 
 

Geometry_V1.Nb2D

Description

Returns the number (Long) of 2D Geometries of this object

Examples

VBScript Example

CreatePrim "Cube", "MeshSurface"
set oSelList = GetValue("SelectionList")
set oItem = oSelList(0)
set oGeometry = oItem.obj
oNumberOf2DComponent = oGeometry.Nb2D
LogMessage "Geometry_V1[ " & oItem & " ] has : " & oNumberOf2DComponent & " polygons"

See Also

Geometry_V1.Nb0D Geometry_V1.Nb2D Geometry