Go to: Synopsis. Flags. Return value. Related. MEL examples.
cluster [-after] [-before] [-bindState] [-deformerTool] [-envelope double] [-exclusive] [-frontOfChain] [-geometry string] [-ignoreSelected] [-name string] [-prune] [-relative] [-remove] [-resetGeometry] [-split] [-weightedNode DAGobject DAGobject]
[objects]
cluster is undoable, queryable, and editable.
The cluster command creates a cluster or edits the membership of an existing cluster. The command returns the name of the cluster node upon creation of a new cluster. After creating a cluster, the cluster's weights can be modified using the percent command or the set editor window.Long name (short name) | [argument types] | Properties | ||
---|---|---|---|---|
-name(-n)
|
string
|
![]() |
||
|
||||
-geometry(-g)
|
string
|
![]() ![]() |
||
|
||||
-remove(-rm)
|
|
![]() |
||
|
||||
-before(-bf)
|
|
![]() |
||
|
||||
-after(-af)
|
|
![]() |
||
|
||||
-split(-sp)
|
|
![]() |
||
|
||||
-frontOfChain(-foc)
|
|
![]() |
||
|
||||
-ignoreSelected(-is)
|
|
![]() |
||
|
||||
-deformerTool(-dt)
|
|
![]() |
||
|
||||
-prune(-pr)
|
|
![]() |
||
|
||||
-exclusive(-ex)
|
|
![]() ![]() |
||
|
||||
-weightedNode(-wn)
|
DAGobject DAGobject
|
![]() ![]() ![]() |
||
|
||||
-bindState(-bs)
|
|
![]() |
||
|
||||
-envelope(-en)
|
double
|
![]() ![]() ![]() |
||
|
||||
-relative(-rel)
|
|
![]() |
||
|
||||
-resetGeometry(-rg)
|
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Create a cluster which uses the transformation of elbow1 // cluster -wn elbow1 elbow1; // Edit cluster1 to use the transformation of wrist1. // cluster -bs 1 -wn wrist1 wrist1 cluster1; // Create a relative cluster with its own cluster handle. The // cluster handle is drawn as the letter "C". // cluster -rel; // Modify the membership of an existing cluster. First, find // the name of the cluster's associated set, then use the sets // command to edit the set membership (add a cube and remove a plane). // listConnections -type objectSet cluster1; // Result: cluster1Set sets -add cluster1Set pCube1; sets -rm cluster1Set pPlane1;