JAY ROXAS ⋅ ANIMATOR
  • CREATIVE SOUL
  • FILMOGRAPHY

toggleImageplanes MEL Script

5/7/2020

0 Comments

 

Turns On/Off Imageplanes

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

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

toggleNURBS MEL Script

5/7/2020

0 Comments

 

​Turns On/Off NURBS

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

toggleGeo MEL Script

5/7/2020

0 Comments

 

Turns On/Off Geometry

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

    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 2023
  • CREATIVE SOUL
  • FILMOGRAPHY