Geometry_V1.Nb2D

説明

このオブジェクトの 2Dジオメトリの数(Long)を取得します。

VBScript の例

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"

関連項目

Geometry_V1.Nb0D Geometry_V1.Nb2D Geometry