Go to: Synopsis. Return value. MEL examples.
getAllChains
string[] chain : String array, one entry for each unique deformer chain found. |
Variable Name | Variable Type | Description |
---|---|---|
None |
string $cube[] = `polyCube`; string $cone[] = `polyCone`; nonLinear -before -type bend; select $cube[0]; cluster -before; select $cone[0]; nonLinear -before -type twist; getAllChains; // Result: bend1 cluster1 tweak1 twist1 tweak2 print $chains[0]; // Result: bend1 cluster1 tweak1 // print $chains[1]; // Result: twist1 tweak2 //