ClusterProperty_V1.NbElements

Description

Returns the number of elements of this cluster property contains as an Integer.

Examples

VBScript Example

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)"

See Also

ClusterProperty_V1.ValueSize ClusterProperty_V1.ElementsValues ClusterProperty_V1.SetElementsValues ClusterProperty_V1