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
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; } } Turns On/Off NURBSstring $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; } } 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; } } |