Pages

Saturday, March 30, 2013

Maya Hot key toggle View Selected

Hi,
Hope this tip I scripted is helpful. I'm using this tip while modeling so I can view just a part of the
model allowing me to ignore other parts until later.
cheers,
Nate

string $window = `getPanel -withFocus`;
int $mode = `isolateSelect -q -state $window`;
//why 1 minus is so we can use one hot key to toggle both
enableIsolateSelect $window (1-$mode);
isolateSelect -state  (1-$mode) $window;