MEL 名前を部分的に削除するツール
削除したい名前を入力し、選択オブジェクトのみ変更の場合はSelectedボタン、すべてのオブジェクト名を変更する場合はAllボタンをクリックください。
注意 名前にコロン:が入っている場合は使用できません。アンダーバー_は問題なく削除できます。
string $window = `window -widthHeight 100 100`;
setParent ..;
showWindow $window;
deleteUI -window $window;
global proc N001s()
{
string $N001 = `textField -query -text N001`;
searchReplaceNames $N001 "" "selected";
};
global proc N001a()
{
string $N001 = `textField -query -text N001`;
searchReplaceNames $N001 "" "all";
};
window -width 300 -height 135 -title "Delete Name" -rtf 1;
columnLayout -adjustableColumn true;
text -label "Delete Name" -align "left";
textField -editable true N001;
button -label "Selected" -command "N001s";
button -label "All" -command "N001a";
setParent..;
showWindow;