## CreateClusterFromSubComponent

### Description

Creates a cluster of components.

### Scripting Syntax

    oReturn = CreateClusterFromSubComponent( InputObjs, [Name], [CanConnectToTag] );

### Return Value

Returns an XSICollection that contains the clusters.

### Parameters

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

### Examples

#### VBScript Example

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

### See Also

CreateCluster