Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python for UI, Autoloader failing

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
261 Views, 0 Replies

Python for UI, Autoloader failing

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.

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report