Created
July 21, 2020 08:17
-
-
Save RiggingRanger/d9e8b0a0c19ebfea93889eb9f90c9f14 to your computer and use it in GitHub Desktop.
Move-Joints-Mode Maya Shelf
This file contains hidden or 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
"""Enter move-joints-mode for all skinned geo.""" | |
import maya.cmds as cmds | |
for skin in cmds.ls(type='skinCluster'): | |
cmds.skinCluster(skin, edit=True, moveJointsMode=True) |
This file contains hidden or 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
"""Exit move-joints-mode for all skinned geo.""" | |
import maya.cmds as cmds | |
for skin in cmds.ls(type='skinCluster'): | |
cmds.skinCluster(skin, edit=True, moveJointsMode=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment