سؤال

I have a C++ Maya plugin. When loaded, it automatically calls MEL procedures to create the GUI:

  status = plugin.registerUI("LoadGUI", "UnloadGUI");CHECK_STATUS(status);

However, registerUI seems to be available for MEL procedures only.

How could I do similar things for Python?

هل كانت مفيدة؟

المحلول

Have the mel command call your python command.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top