ジャンプ先: 概要. 戻り値. MEL 例.

概要

string plugMultiAttrs(string $plug)

プラグのアトリビュートまたはその親のいずれかがマルチである場合、このプロシージャはこれらを配列に入れて返します。

戻り値

なし

引数

変数名 変数タイプ 説明
$plugstring対象となるプラグです。

MEL 例

  	// Find the multi attr parent of the xValue attribute

		plugMultiAttrs "pCylinderShape1.pnts.xValue";
		// Result: pnts //

		
		plugMultiAttrs "cluster1.weightList.weights";
		// Result: weightList.weights weightList //