Message 1 of 2
Not applicable
11-03-2017
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
First try at MEL and I'm there! Well... nearly.
Essentially I want to toggle NURBS curves on an off (viewport > show > NURBS > tick/untick) with a shelf script.
int $b = false:
$b = (!$b);
//print $b;
modelEditor -e -nurbsCurves $b modelPanel3;
So far so good. However, how do I get the initial state of the window NURBS setting in order to toggle it?
Solved! Go to Solution.