Created
April 11, 2014 18:59
-
-
Save dgovil/10492446 to your computer and use it in GitHub Desktop.
Snippet to go through all the cameras, turn off joints and IK handles, and only show curves in the default cameras
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maya.cmds as mc | |
panels = mc.getPanel(typ='modelPanel') | |
for pan in panels: | |
cam = mc.modelPanel(pan, q=1, camera=1) | |
startup = mc.camera(cam, q=1, sc=1) | |
mc.modelEditor(pan, e=1, joints=0, nurbsCurves=startup, ikHandles=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment