Created
May 8, 2020 16:50
-
-
Save AndrewtConroy/203f6df2f0aaa5224b6c3d0cc4384220 to your computer and use it in GitHub Desktop.
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 cmds | |
import maya.mel as mel | |
def jointDisplay(show=0): | |
jnts = cmds.ls(type="joint") | |
if show: | |
display = 0 | |
else: | |
display = 2 | |
for j in jnts: | |
cmds.setAttr("%s.drawStyle" % j, display) | |
jointDisplay(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment