Go to: Synopsis. Return value. MEL examples.

Synopsis

getChain shapeNodeName

This function should no longer be used. The deformableShape command should be used instead. 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 two entries: string[0] = "bend1"
string[1] = "cluster1"
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