Creates a Cluster containing the subelements of the SubComponent.
SubComponent.CreateCluster( Name ); |
| Parameter | Type | Description |
|---|---|---|
| Name | String | Name of the cluster that we are creating |
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 if
|