Skip to content

Instantly share code, notes, and snippets.

@AndrewtConroy
Created September 5, 2015 00:42
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/42e6036acc4ad7028c5a to your computer and use it in GitHub Desktop.
Save AndrewtConroy/42e6036acc4ad7028c5a to your computer and use it in GitHub Desktop.
def selectBind(self):
pfx ='jnt'
newListIK = []
fullList = cmds.ls(type='joint')
for item in fullList:
if item.startswith(pfx ):
newListIK.append(item)
cmds.select(newListIK)
@AndrewtConroy
Copy link
Author

make sure to add

import maya.cmds as cmds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment