MEL 一時的にunparentツール

チェックすると、選択したジョイント(等)の子がunparentされます。
チェックを外すと元に戻ります。
注意 複数選択しないでください。


select -cl;
string $window = `window -widthHeight 10 10`;
setParent ..;showWindow $window;deleteUI -window $window;
window -fw -t "Unparent" -rtf 1;
columnLayout -adjustableColumn true;
checkBox -label "Unparent" -offCommand "select -r $b_h_02[0];select -tgl $b_h_01[0];Parent;select -r $b_h_01[0];" -onCommand "string $b_h_01[ ]=`ls -sl`;PickWalkDown;string $b_h_02[ ]=`ls -sl`;select -r $b_h_02[0];Unparent;select -r $b_h_01[0];" -align "center";
setParent..;
showWindow;