Go to: Synopsis. Return value. MEL examples.

Synopsis

getAllChains

Returns all deformer chains in the scene. Each unique chain is returned separately. Only deformers are returned, no auxiliary nodes. The implicitely-created tweak nodes, however, are included. Node names are separated by a space. For example, if we have the following two deformer chains: pCubeShape1Orig->bend1->cluster1->pCubeShape1
pConeShape1Orig->twist1->pConeShape1
then this method will return an array of size two, the entries being: string[0] = "bend1 cluster1 tweak1"
string[1] = "twist1 tweak2"

Return value

None

Arguments

Variable Name Variable Type Description
None

MEL examples

	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 //