## SIRemoveFromCluster

### Description

Removes components (such as points, edges, or polygons) from a cluster

### Scripting Syntax

    SIRemoveFromCluster( InputObj, SubComp );

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObj | String | Cluster object
SubComp | String | Components to remove from the cluster

### Examples

#### VBScript Example

    '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]"

### See Also

RemoveFromCluster SIAddToCluster