CreateCluster (SubComponent)
Description
Creates a Cluster containing the subelements of the SubComponent.
Scripting Syntax
SubComponent.CreateCluster( Name )
C# Syntax
Cluster SubComponent.CreateCluster( String in_name );Parameters
|
Parameter |
Type |
Description |
|
Name |
Name of the cluster that we are creating |
Examples
VBScript Example
set oObject = Application.ActiveSceneRoot.AddGeometry("Cube","MeshSurface","MyCube")
set oSubComponent = oObject.ActivePrimitive.Geometry.CreateSubComponent(siVertexCluster, Array(3,4,5))
set oCluster = oSubComponent.CreateCluster()
if oCluster.Type = oSubComponent.ClusterType then
Application.LogMessage "Expected Result"
end ifAutodesk Softimage v7.5