Created
September 5, 2015 00:42
-
-
Save AndrewtConroy/42e6036acc4ad7028c5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make sure to add
import maya.cmds as cmds