Removes components (such as points, edges, or polygons) from a cluster
SIRemoveFromCluster( InputObj, SubComp ); |
Parameter | Type | Description |
---|---|---|
InputObj | String | Cluster object |
SubComp | String | Components to remove from the cluster |
'This example shows how to remove elements from a cluster newscene CreatePrim "Grid", "MeshSurface" CreateCluster "grid.pnt[4,13,22,31,36-44,49,58,67,76]" Translate , 0, 5, 0, siAbsolute, siParent, siObj, siY 'Cluster name can be changed. SetValue "grid.polymsh.cls.Point.Name", "PlusShape" 'Remove points from cluster. 'Cluster is first and points to remove come after. SIRemoveFromCluster "grid.polymsh.cls.PlusShape", "grid.pnt[40]" |