Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Rename.py
- Stephano Cardona
- Description:
- This is a super quick renamer, for the rig i've been working on
- Use:
- import Rename
- reload(Rename)
- Rename.gui()
- """
- import pymel.core as py
- selection = py.ls(sl=True)
- name =raw_input()
- count =0
- for items in selection:
- temp = '{0}_0{1}_Bind'.format(name,count)
- items.rename(temp)
- count=count+1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement