A maya script to quickly put controllers in offset groups without moving them.
I initially made this script to make the rigging process easier. I ended up writting a small script in the afternoon in the form of a simple script to execute once when all my controllers are in place.
The tool works by creating an offset group for a selected controller and matching it's transformation attributes. The controller is then parented to the offset group. This process is repeated for all selected items and respects controller hierarchy.
Offset groups are also named using the following rule: [objectname]_OffsetGroup
- Copy the "jdd_offsetGroupManager.py" to your Maya scripts directory:
MyDocuments\Maya\scripts\
- Then, within maya, use the following text as a python script to run the tool:
import jdd_offsetGroupManager as scpt
scpt.execScript()
- (Optional) Alternatively, the text can be saved in the custom shelf using maya's script editor. This makes the script a small button in your current shelf so it can easily be accessed later.
- Cannot put an object in an offset group if it's already in an offset group named
[objectname]_OffsetGroup