Jack's PC Survival Guide
tricks.tips.fixes
Wednesday, March 27, 2013
curve visibility toggle mel
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;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment