Python: Cinema exit event
-
Hey all,
Is there any way to catch a cinema application exit event?
I need to do execute code just before cinema shuts down.
Note: I have set up a cinema python plugin. So if cinema shuts down the plugin before exit and I am able to listen to a plugin unregister event, that would also work.
All the best
-
See the function PluginMessage() and listen for messages such as C4DPL_END or C4DPL_ENDACTIVITY.
Steve
-
@spedler thanks for your quick reply!
As you suggested I tried catching the
C4DPL_ENDACTIVITY
and that works. Thanks!But for some reason I can't seem to catch the
C4DPL_END
that you mentioned.Check out this thread where I posted that problem. Would love to hear if you got that to work somehow!
-
I think this can be closed
-