Creates a cluster of components.
oReturn = CreateClusterFromSubComponent( InputObjs, [Name], [CanConnectToTag] ); |
Returns an XSICollection that contains the clusters.
Parameter | Type | Description |
---|---|---|
InputObjs | String | Components to add to cluster |
Name | String | Name of cluster |
CanConnectToTag | Boolean |
True to allow tag connection Default Value: 0 |
'This example shows how to create cluster newscene CreatePrim "Grid", "MeshSurface" 'Create cluster and name it CreateClusterFromSubComponent "grid.pnt[4,13,22,31,36-44,49,58,67,76]",_ "PlusShape" 'Cluster is not selected automatically. SelectObj "grid.polymsh.cls.PlusShape" |