The Persistents struct provides methods to collect, create and test persistent global variables.
Displays a list of persistent globals and their value.
Removes the named persistent global from the persistent global pool. The variable remains as a global variable and retains its value.
Removes all persistent globals from the persistent global pool. The variables remain as global variables and retain their value.
This method returns an array of all persistent global variable names as <name> values.
Available in 3ds Max 2008 and higher. Previously available in the Avguard Extensions.
This method makes the specified global variable name persistent.
The name specified must be a global variable's name, otherwise a runtime error is thrown. See globalVars structure.
Available in 3ds Max 2008 and higher. Previously available in the Avguard Extensions.
Returns true if the specified global variable name is persistent, false if it is not persistent.
Available in 3ds Max 2008 and higher. Previously available in the Avguard Extensions.