JAY ROXAS ⋅ ANIMATOR
  • CREATIVE SOUL
  • FILMOGRAPHY

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



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