JAY ROXAS ⋅ ANIMATOR / MUSICIAN / PHOTOGRAPHER
  • CREATIVE SOUL

toggleLocators MEL Script

5/7/2020

0 Comments

 

Turns On/Off Locators

string $myPanel = `getPanel -wf`;
if(`getPanel -to $myPanel` == "modelPanel") {
if(`modelEditor -q -locators $myPanel` == 0) {
modelEditor -e -locators 1 $myPanel;
​}
else {
modelEditor -e -locators 0 $myPanel;
}
}
0 Comments



Leave a Reply.

    Hi!

    You'll find handy scripts I've collected over the years to help your workflow. I use these every time I animate. Happy Animating!

    Archives

    May 2020

    Categories

    All
    Hotkey
    MEL

    RSS Feed

© Copyright | Jay Roxas 2020
  • CREATIVE SOUL