save array (to maxfile) for later use

hi all,

sorry if this question might be very simple but i am not able to find helpfull information via search, google or the maxscript reference...

so i want to save/keep certain arrays that have been produced for later use. so even if the maxfile has been closed and reopened i want to look for a certain array to get old settings and change them.

i think i can produce a .txt file for example, save the info/seetings into it and read it out later but i want to avoid creating additional files. is it possible to save my array somewhere into the maxfile itself, or maybe to a special (helper) object?

many thanks in advance!

 

 

 

Comments

Comment viewing options

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

marco, sadly my script is

marco, sadly my script is nearly finished, but i will have a look at these variables. thank you very much.

Marco Brunetta's picture

You should also check

You should also check persistent global variables. They are just like regular variables but they are stored directly in the max file, and can be retrieved later.

le1setreter's picture

thats what i have been

thats what i have been looking for. works great. thank you, anubis.

Anubis's picture

Search in the reference for

Search in the reference for Node User-Defined Properties and Methods
(the most easy way to do)

my recent MAXScripts RSS (archive here)

Comment viewing options

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