Would you be able to provide a small reproducible example so that this can be tested? Also, what is the circumstance where you are able to get the data you need and write it to XML, but not use it directly?
On May 30, 2012, at 8:43 AM, Carlo <[email protected]> wrote: > Hey, I'm currently using Maya Standalone to baked out a list of controllers > on a rig and copy their animation onto a locator. When I run the script any > controllers that have key frames on them will transfer over, but if a > controller is constrained to an object the script will only copy the first > frame of its animation. I tried running the same script in the Maya and was > able to copy the animation of all controllers, constrained or not. So is > there an issue with Maya Standalone that prevents it from baking out the > animation of a constrained object? > > If that is the case then is there a way I can store the animation of the > selected controllers, I was thinking about used Maya API, but I'm not to > familiar with it and not to sure exactly where to start. Any help would be > much appreciate. I also thought to store the information onto an xml file, > but if a rig have 50 controllers and each have 10 attributes, and there's 100 > frames in the shot, well that would just take an crazy about of time to write > out and read back to the controllers and key them all for every frame. Also > it doesn't seem very efficient or practical. > > The reason why I can't just use the script in regular Maya is that I have to > copy animation for several files and need a way to batch multiple files out. > > I hope what I am saying makes sense, any help would be very much appreciate. > Thank you. > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
