Skip to content

Instantly share code, notes, and snippets.

@lyokato
Created December 20, 2019 13:12
Show Gist options
  • Save lyokato/2c4ee2a1928da163ca30a8c54292c53f to your computer and use it in GitHub Desktop.
Save lyokato/2c4ee2a1928da163ca30a8c54292c53f to your computer and use it in GitHub Desktop.
import maya.cmds as cmds
joints = cmds.listRelatives(allDescendents=True, type='joint')
cmds.select(joints, add=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment