Skip to content

Instantly share code, notes, and snippets.

@SEVEZ
Created August 29, 2015 11:23
Show Gist options
  • Save SEVEZ/5d4b9a4c1ab633fd409d to your computer and use it in GitHub Desktop.
Save SEVEZ/5d4b9a4c1ab633fd409d to your computer and use it in GitHub Desktop.
Select all object by type within hierarchy
cmds.select(cmds.ls(dag=1, ap=1, sl=1, type="joint"))
cmds.select(cmds.ls(dag=1, ap=1, sl=1, type="nurbsCurve"))
cmds.select(cmds.ls(dag=1, ap=1, sl=1, type="constraint"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment