Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 23-10-2021 , 03:29 PM
Registered User
Join Date: Oct 2021
Posts: 1

Batch Command to Snap pivot to 0,0,0

Hello everyone,

I have a situation that root bone pivots on different poses are all at slightly different position and I need them be at 0,0,0, grid center.
Each pose is separate fbx file, and each is the same skeleton hierarchy, names... SO basically what I was doing is selecting root bone, go to edit pivot mode ( D), snap it to grid center, export, and then do it all over again.
Since there's a lot of files and I have to do literally the same sequence of clicks on each I realized automating everything is the way...
However, being a scripting noob I found it difficult to do the thing.

I was echoing all commands in script editor and I managed to figure out basic how to select the root bone by name ( same name in each file), snap it to grid center and overwrite the original file with export selected command.
Where I fail is to automate edit pivot mode and batch processing everything in the end.
Also while reading I learned that writing the script in python woud be better, but that's something I cannot do with my limited coding knowledge.

So, if anyone can help by pointing me to right direction I'd appreciate that.
Thanks in advance,

Dj.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads