Code:
// Hide Selected invertSelection; $currentPanel = `getPanel -withFocus`; string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") { isolateSelect -state 1 $currentPanel; } select -cl;
Code:
// Unhide All $currentPanel = `getPanel -withFocus`; string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") { isolateSelect -state 0 $currentPanel; }