Python plugin priority
-
Hi there,
I asked this question kind of included in another post, but it just reached a new level of importance for us
Is there a way to set a Python plugin's init priority? In the C++ SDK, a function called "SetPriority();" is still mentioned, but not documented anymore. In Python, it doesn't seem to exist. The C4DPL_INIT_ constants are still there.
Thanks in advance & greetings from Berlin,
Frank -
Hi @fwilleke80 no this is not possible.
Note that there is no mention of SetPriority in the C++ SDK API, in the latest online documentation. This function was renamed SetPluginPriority.
Just for your information.
- Cinema 4D load all modules (dll), the order is automatically handled by the source processor but any dependencies can be added in some rare cases where the automatic things fail with MAXON_DEPENDENCY_ON_MODULE.
- All C++ plugins are loaded according to there priority (aka SetPluginPriority).
- All Python plugins are loaded from a custom internal message to the python module.
- C4DPL_STARTACTIVITY is sent to all plugins.
Cheers,
Maxime -
OK, thanks!