PDA

View Full Version : Access persisten global mxs variable from sdk


stigatle
03-15-2012, 05:47 PM
So,
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).

denisT
03-15-2012, 07:03 PM
look at ...max SDK\maxsdk\samples\maxscript\mxsagni\mxs_variables.cpp

stigatle
03-15-2012, 07:04 PM
Thank you for the pointer, I will give that a look :)

CGTalk Moderation
03-15-2012, 07: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.