I am trying to display up a dialog box if: (a users env maya path is not set, if the env path to a folder is a correct directory) I have my logic but I need to now run it on startup.
I have been looking around and I don’t know if it’s possible to do this with a loaded plugin. The only thing I know of is how to automatically execute python script and I am currently doing that with my userSetup.py in my Maya documents script path. I know I could check my condition in python then call cmds.MyPlugin()
but I would like to keep it in C++ because I will need to see if my serialized data is saved or not, I don’t want to make 2 data loaders.
Can I do this for an already loaded c++ plugin? and if so can you point me in the direction I need to go in.
Thanks!