ForEachLoop
main mel draw photography about

ForEachLoop

 


 

Create Cluster

Mel Scripting February 4th, 2008

cluster.jpg

In Maya, once you create a cluster, it will return to object mode, then you will have to go back to component mode and create a second cluster. this is very frustrated, so I always have this simple script in my tool set to create clusters faster, one and another one without going back to object mode back and forth.

 

 

 

 

global proc s_createClusterProc()
{
string $clusterNew[]=`newCluster " -envelope 1"`;
string $curveDeformer[]=`cluster -q -geometry`;
changeSelectMode -component;
hilite -r $curveDeformer;
}

One Response to “Create Cluster”

  1. chenxiang Says:

    I think it is useful

Leave a Reply