Load XML Animation File - through maxscript

Might be a basic question but im pretty lost here.

I have a set of animations files (max) spread for each animation clip of a Avatar. one for idle, one for idle2… run, sit, attack…

and the final file must be collapse in one timeline. so . from frame 1 to 10 is idle, 11 to 20 is idle 2, 21-29 run… and there goes…

i know i can use save/load animation but cant find more info to how to use it in maxscript (to set like absolute or the insert at , actully to even use it at all).

(the maxscript ref didnt show anything else besides “max file load animation” :curses: ).

Search for Interface: LoadSaveAnimation in the maxscript help document: use LoadSaveAnimation.loadAnimation and you can specify relative, insert, specify a map file, etc

From the max Help File:

<boolean>LoadSaveAnimation.loadAnimation <filename>fileName <&node array>nodes relative:<boolean> insert:<boolean> insertTime:<time> stripLayers:<boolean> useMapFile:<boolean> mapFileName:<filename>

Hope that helps

Thank you. that was perfect.
knew i was looking in the wrong place.

=)

You’re welcome!