Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 C++ Maya 插件。加载后,它会自动调用 MEL 程序来创建 GUI:
status = plugin.registerUI("LoadGUI", "UnloadGUI");CHECK_STATUS(status);
但是,registerUI 似乎仅可用于 MEL 程序。
我怎么能为 Python 做类似的事情?
让 mel 命令调用您的 python 命令。