Go to: Synopsis. Return value. MEL examples.

Synopsis

plugNodeStripped(string $plug)

This procedure returns the node name portion of the specified plug, and strips off any dag path and/or namespace from the node.

Return value

None

Arguments

Variable Name Variable Type Description
$plugstringThe plug name from which to extract the node name portion.

MEL examples

  	// Find the stripped node name portion of foo:joint1|joint2|joint3
		plugNodeStripped "foo:joint1|joint2|joint3"
		// Result: joint3 //