SOLVED Executing action after the scene is rendered


So basically i'm trying to develop a plugin (currently using python) that alters the file after render. I would have assumed there would be a render event I could listen to or something similar, but I haven't been able to find anything along those lines.
Is this something that's possible in C4D, or something similar? Essentially an action needs to be performed on the outputted file once the scene is rendered based on a couple of settings.


Hi pe_matthewalexander , thanks for reaching out us.

With regard to your question I suggest the following options (which strongly depend on the context you're supposed to run)

  • implement a MessageData::CoreMessage() and check for EVMSG_RAYTRACER_FINISHED to be dispatched;
  • use the BaseDocument::RenderDocument() to fire and control the render execution
  • use the Remote effect as described here to have an external script being run upon rendering being completed
  • implement your own VideoPostData (assuming you're willing to move to C++)

Best, Riccardo