Geometry_V1.Nb0D

説明

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

VBScript の例

' this example illustrates how to get the number of points

' in the cube polygon mesh.

CreatePrim "Cube", "MeshSurface"

set oSelList = GetValue("SelectionList")

set oItem = oSelList(0)

set oGeometry = oItem.obj

oNumberOf0DGeometries = oGeometry.Nb0D

LogMessage "Geometry_V1[ " & oItem & " ] has : " & oNumberOf0DGeometries & " points"

関連項目

Geometry_V1.Nb1D Geometry_V1.Nb2D Geometry