Go to: Synopsis. Return value. MEL examples.

Synopsis

string plugNode(string $plug)

This procedure returns the node name portion of the specified plug.

Return value

None

Arguments

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

MEL examples

  	// Find the node name portion of checker1.color1

		plugNode "checker1.color1";
		// Result: checker1 //