選択以下の全てのジョイントにスケールを伝播(MEL) 「ジョイントのスケールの伝播」の処理を、選択オブジェクト以下の全てのジョイントに行います。 { string $Sel[] =`ls -sl`; string $tmpSel,$tmp; int $Set = 0; for($tmpSel in $Sel){ if(`objectType $tmpSel`=="joint"){ setAttr ($tmpSel +".segmentScaleCompensate") $Set; } string $Joint[] = `listRelatives -ad -type "joint" -pa`; for($tmp in $Joint){ setAttr ($tmp +".segmentScaleCompensate") $Set; } } }