Go to: Synopsis. Return value. MEL examples.

Synopsis

string plugMultiAttrs(string $plug)

If the plug's attribute or any of its parents are multi's, this procedure returns them in an array.

Return value

None

Arguments

Variable Name Variable Type Description
$plugstringThe plug of interest.

MEL examples

  	// Find the multi attr parent of the xValue attribute
		plugMultiAttrs "pCylinderShape1.pnts.xValue";
		// Result: pnts //
		
		plugMultiAttrs "cluster1.weightList.weights";
		// Result: weightList.weights weightList //