Notifications
Clear all

[Closed] Accessing Motion Mixer with Maxscript

Hellos,

I’ve been using the motion mixer quite a lot at work, where we have lots of characters dancing. I quickly saw a need to copy and paste mix files from one biped to another, which speeds up the workflow significantly. I used some generic maxscripts and they work a charm.

But now I want to do the same thing with the max objects I am using for hair and other bits, and I run into a problem. I don’t know how to reference it.

To load a mix to a specific biped, I use:

loadMixFile $Bip01.transform.controller.mixer mixfilename

But how can I reference my max objects?

Can I do it through what is selected in motion mixer? I’d really like to be able to do that, but I don’t know how.

Can anyone help?

1 Reply

Hmm On another annoying note,

I have been working on a script to insert a mix into an existing mix, in the goal of quickly assembling large mixes from smaller mixes. I continually run into the issue of memory loss when accessing the motion mixer clips using maxscript in 3dsmax 9.

I would have this issue in 3dsmax 8 by simply moving clips about in the interface, and watching my memory usage waste away. This seems to have been fixed in 3dsmax 9, however the fix seems to be only in the UI, and my scripts are bypassing it.

Other than reloading the scene, is there a way to manage the memory in the script? It seems impossible to use otherwise.

If somebody could shed some light on this I would appreciate it.