Holding C++ variable in MEL script
Does any one knows how to hold a C++ variable in MEL script.
I made a plug-in that connects MAYA to other software, and when the command ends I'm loosing the connection. I want to hold the connection alive and for that I must hold a C++ variable in the MEL script or to find away that one MEL plug-in recognize variable from another.
Does any of you have an idea?