View Full Version : Load and Save Animation Interface in 3ds Max

04 April 2010, 08:58 PM
I'm trying to access the Load and Save animation windows in Max through a button. I was hoping that when you hit the Save animation for example, it selects a specific node, looks at the name of your max file and uses it for the name of the .xaf, as well as look at the start and end of your timeline to set the segment length.
I really don't understand how to work with it. I've tried using the LoadSaveAnimation.saveAnimation but I don't fully understand the maxscript reference and there is no example. So far, I've settled with simply selecting the correct node and opening the Save or Load Animation dialog window. It good enough, but I'd like to push it just a step further.
If anybody is familiar with this it would be great to benefit from your knowledge.

Thanks everyone for your time and have a good week :)

04 April 2010, 09:00 PM
Could you give a bit more detailed information of what is it exactly you're trying to achieve? Automated tool for saving animation of certain nodes while naming the animation file according to scene name or nodes/character/prop name and in the same path as the scene path? Or something else? And you want this trough MaxScript?

If so, that should be rather easy to do but if you could clear it up a bit please.

04 April 2010, 08:51 PM
I have a button in a custom attribute on an object in my scene. When pressing the button, I want to select a node in my scene called "Reference". Then save the animation that's on the Reference node.
My .xaf files will always go in the same folder. I could start with the same path as the current max file. I'd like to use the name of my file for the name of my .xaf. Also I'd like to look at the time range of the timeline so I know exactly length of my animation segment. That's about it.
That would be scripted inside the button in my custom attribute.

Thanks a lot for your help and your time :)

CGTalk Moderation
04 April 2010, 08:51 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.