Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Executing action after the scene is rendered

    Cinema 4D SDK
    2
    2
    382
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pe_matthewalexander
      last edited by

      Hi,

      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.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        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

        1 Reply Last reply Reply Quote 1
        • First post
          Last post