Animation Tip - Toggle Nurbs Script!

Maya Tip! - You can paste the MEL script below into a hotkey assignment to create a show/hide toggle for showing nurbs controls. This can save a lot of time by just pressing a key instead of having to click through the Show dropdown. Now you can check your rig's animation without nurbs distracting you. I got this script from Truong CG but I'm not sure where it originated from.

Hope this helps!

string $activePanel = `getPanel -wf`;

if (`modelEditor -q -nurbsCurves $activePanel` == 1) {

modelEditor -e -nurbsCurves 0 $activePanel;

} else {

modelEditor -e -nurbsCurves 1 $activePanel;

}

要查看或添加评论,请登录

Terence Beaumont的更多文章

社区洞察

其他会员也浏览了