Skip to content

Instantly share code, notes, and snippets.

@manhha00
Created December 25, 2017 03:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save manhha00/dca147f762c57155151a0660d8632e20 to your computer and use it in GitHub Desktop.
Save manhha00/dca147f762c57155151a0660d8632e20 to your computer and use it in GitHub Desktop.
maya - python - select all joint in bind of selected mesh
import maya.cmds as cmds
sel = cmds.ls(sl = True)
jnts = cmds.skinCluster(sel, inf = True, q = True)
cmds.select(jnts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment