Save Array With In the Scene

What I'm looking for is a way to be able to store an array with in the scene so that when max is closed and the scene is reopened the array will be loaded as well. I'm familiar with weak referencing and using the paramater block to store nodes but what I really want to do is store multiple arrays with in an array. A friend mentioned using the #stringTab with in the paramater but I'm a little confused on how I would add the array to it.

I would like to make a pose store tool on a rig which will load all its saved poses with in the scene with out having to reload the information. Any and all help will be appreciated.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

My tips

I would not recommend you persistent global variables, nor custom attributes. If you really need to store them in the scene, you can use "User-Defined Properties" (see in help - getUserPropBuffer() , setUserPropBuffer() , ... ), but I personally find it safer to dump them in an external file.

my recent MAXScripts RSS (archive here)

MKlejnowski's picture

This works Perfect

Thank you. This works perfect for what I have in mind.

Marco Brunetta's picture

Look for persistent global

Look for persistent global variables in the maxscript reference

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.