Skip to content

Instantly share code, notes, and snippets.

@AndrewtConroy
Created May 8, 2020 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewtConroy/203f6df2f0aaa5224b6c3d0cc4384220 to your computer and use it in GitHub Desktop.
Save AndrewtConroy/203f6df2f0aaa5224b6c3d0cc4384220 to your computer and use it in GitHub Desktop.
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