View Full Version : Access persisten global mxs variable from sdk

03 March 2012, 04:47 PM
I'm writing on my exporter.
The GUI and all that are in maxscript, the actual export is in c++.

Now in my script I define my animated objects by adding them to a
persistent global variable (maxscript).
The reason for that is that it makes it very easy to work with in my maxscript gui's etc.

So, my question now is how can I access the persistent global variable from c++?

I either have to do it this way, or simply store it somewhere else (in my objects properties for example).

03 March 2012, 06:03 PM
look at ...max SDK\maxsdk\samples\maxscript\mxsagni\mxs_variables.cpp

03 March 2012, 06:04 PM
Thank you for the pointer, I will give that a look :)

CGTalk Moderation
03 March 2012, 06:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.