//Toggle Isolate Selected in Current Panel $currentPanel = `getPanel -withFocus`; $state = `isolateSelect -q -state $currentPanel`; if ($state == "0") { enableIsolateSelect $currentPanel 1; } else { enableIsolateSelect $currentPanel 0; } // Toggle SHaded WIreframe string $panel = `getPanel -wf`; modelEditor -e -wos ( !`modelEditor -q -wos $panel` ) $panel; //ToggleOutliner: if ( `window -exists outlinerPanel1Window` ) deleteUI -window outlinerPanel1Window; else tearOffPanel "Outliner" "outlinerPanel" false;
No comments:
Post a Comment