ClusterProperty_V1.ValueSize
 
 
 

ClusterProperty_V1.ValueSize

Description

Returns the number of scalar element(s) used to store one value of this cluster property as an Integer. A returned size of 0 means this cluster property does not support get/set values.

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
myValSize = myClusterProp.ValueSize
LogMessage "Cluster_V1 Property [ " & myItem & " ] value size = " & myValSize

See Also

ClusterProperty_V1.NbElements ClusterProperty_V1.ElementsValues ClusterProperty_V1.SetElementsValues ClusterProperty_V1