On 03/09/2015 at 01:27, xxxxxxxx wrote:
Hi,
I understand that a Command plugin doesn't receive the MSG_MULTI_RENDERNOTIFICATION message ( in fact there's no info in the Python docs for R15 on what the Message function does receive )..
I'd like to somehow use MSG_MULTI_RENDERNOTIFICATION to toggle when a render has started and when it has finished, in combination with c4d.CheckIsRunning(c4d.CHECKISRUNNING_EDITORRENDERING).
I can use CheckIsRunning inside the Command plugin ok, but i don't want to continually poll this until the render has finished, hence why i think i need the MSG_MULTI_RENDERNOTIFICATION..
How best would i go about this? Can i force the active doc to message the Command plugin when it receives that message? Or should i set up a MessageData plugin for this, and if so how would i call it and get it to pass on the message to my Command plugin?
Thanks for any help on this.