PDA

View Full Version : how do i write anim curves info. to external file format?


montujj
03-16-2006, 07:51 PM
i want save just animation curve of translate,rotate or any other animated node to external file outside maya so that i can access that data any other time and apply to other objects in different maya session..

is it possible with Mel?
how do i do this?
do i need to know API in order to do this?
if yes what is the best resource to learn API?

Any help would ne appreciated..
thanks

animationrigs
03-16-2006, 09:17 PM
you can do this with mel, but there are a lot of differentl ways to do it. Any reason not to leverage off some of the scripts that have already been written? There is all kinds of stuff already written for this.
Check out zootools and the scripts on highend as well

Buexe
03-16-2006, 10:39 PM
what`s wrong with the animExport plug-in?

Robert Bateman
03-16-2006, 11:33 PM
what`s wrong with the animExport plug-in?

and the animEngine C++ example in the devkit that loads these files and demonstrates the exact way to interpret the data....

Buexe
03-17-2006, 09:51 AM
and the animEngine C++ example in the devkit that loads these files and demonstrates the exact way to interpret the data....

yeah that`s what I implied : )
writing a custom importer/exporter with MEL IMO has two major drawbacks:

1. It takes quite some time to develop ( if it has advanced features that a typical animator would like to have)
2. It is quite slow when you have tons of keyframes to import

the animImport/animExport works quite well for the basics.

montujj
03-17-2006, 05:02 PM
thanks all for reply
where do i find animexport plugin.

CGTalk Moderation
03-17-2006, 05:02 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.