Saturday, January 18, 2014

Python script for Rigging.

Hi guyz,

Here is a python script that I have written for all who is interested in rigging. this script will save your time. It will make group of each controller and rename the new created group accordingly followed by the controller name. I hope it will be helpful for you all.

import maya.cmds as cmds
list = cmds.ls(sl = True)
size = len(list)
for i in range (0, size, 1):
    b = list[i] + '_grp'
    cmds.group(list[i], name=b)

i will tell you how to run this script

1) open your scrip editor and add a python tab
2) copy and paste the script in python tab
3) select all the controllers
4) now select  the code and ctrl+enter
5) work is done check ur outliner

you can add this script in your custom shelf just select the code from thescript editor (python), drag and drop with MMB to your custome shelf.

I will update one video to show you how to use it soon.

enjoy..


Regards
Arif Rahman..

No comments:

Post a Comment