Created
February 15, 2015 06:44
-
-
Save lapaev/8af4944d42ef646acb46 to your computer and use it in GitHub Desktop.
Run through each CV on selected curves
This file contains hidden or 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 clsit(inputer): | |
| cvc = cmds.getAttr(inputer+'.spans') + cmds.getAttr(inputer+'.degree') | |
| for z in range(0, cvc): | |
| z = str(z) | |
| cmds.select(inputer + '.cv[' + z + ']') | |
| cursel = cmds.ls(sl=True) | |
| for x in cursel: | |
| clsit(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment