Hello everyone,
I'm running into an extremely frustrating problem. I'm creating a custom C++ Plugin, and I'm attempting to utilize Python for the majority of the UI and functionality behind the UI. There are specific performance reasons why I'm not going full Python.
During the initialization of my Plugin, I utilize the executePythonCommand to call my various Python scripts.
Everything works correctly, however, when attempting to use the Autoloader it fails. My guess would be that I need a way to defer the execution of my Python scripts until Maya has finished loading. (Much how the registerUI works with Mel scripts).
Is there a way to do this with Python? I really don't want to do something ugly like create a Mel script that I call registerUI with, that then calls my python scripts.