Go to: Synopsis. Return value. MEL examples.

Synopsis

getChain shapeNodeName

Returns the deformers that deform the given geometry. For example if we have the following deformer chain created using the "before" ordering and call getChain("pCubeShape1") pCubeShape1Orig->bend1->cluster1->pCubeShape1 then this procedure will return three entries: string[0] = "bend1"
string[1] = "cluster1"
string[2] = "tweak1"
Notes:

Return value

None

Arguments

Variable Name Variable Type Description
$shapeNodeNamestring: name of the shape node for which we wish to query the deformer chain for.

MEL examples

	string $cube[] = `polyCube`;
	nonLinear -before -type bend;
	select $cube[0];
	cluster -before;
	getChain( $cube[0] );
	// Result: bend1 cluster1 tweak1