CreateClusterFromS ubComponent

Description

Creates a cluster of components.

Scripting Syntax

    CreateClusterFromSubComponent( InputObjs, [Name], [CanConnectToTag] )

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

Return Value

Returns an XSICollection that contains the clusters.

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

Autodesk Softimage v7.5