ClusterProperty_V1.NbElements

ClusterProperty_V1.NbElements

説明

このクラスタプロパティのエレメントの数をIntegerとして戻します。

VBScript の例

CreatePrim "Grid", "MeshSurface"

'This create a texture property containing the projected U,V,W values

CreateTextureProj

'Select the newly created property

SelectObj "Grid.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection"

'The current selection contains the newly created cluster property

set mySelList = GetValue("SelectionList")

set myItem = mySelList(0)

set myClusterProp = myItem.obj

myNbElem = myClusterProp.NbElements

LogMessage "Cluster_V1 Property [ " & myItem & " ] contains " & myNbElem & " element(s)"

関連項目

ClusterProperty_V1.ValueSize ClusterProperty_V1.ElementsValues ClusterProperty_V1.SetElementsValues ClusterProperty_V1