Hide Polys Toggle

Great little script to map to a key that hides all polys and displays them back upon hitting the key again. I find myself hiding polys all the time especially when selecting rig controls or when geo gets in the way of selecting.

string $activePanel1 = `getPanel -wf`;
if (`modelEditor -q -polymeshes $activePanel` == 1) {
 modelEditor -e -polymeshes 0 $activePanel;
} else {
 modelEditor -e -polymeshes 1 $activePanel;
}

Comments

Popular posts from this blog

Maya A/B transform match script

MLOOM plus converting to local space.