CreateCluster
 
 
 

CreateCluster

Description

Creates clusters on objects.

Scripting Syntax

oReturn = CreateCluster( [InputObjs] );

Return Value

Returns an XSICollection that contains the cluster.

Parameters

Parameter Type Description
InputObjs String List of object components that will be in the clusters.

Default Value: Current selection

Examples

VBScript Example

'This example creates 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"

See Also

AddToCluster CopyCluster RemoveCluster RemoveFromCluster