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

    Rendering render queue on program startup

    Cinema 4D SDK
    4
    6
    834
    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.
    • K
      karol_w
      last edited by

      Hello everyone! I'm writing a plugin for personal use that launches render queue on program startup, as I'm dealing with a certain not very stable render engine which is giving me much trouble. What I would like to achieve is for Cinema 4D to open up and start rendering immediately as the render queue stores the last file I was rendering and at which frame it stopped. Right now I managed to achieve just that, but the problem is: the plugin launches an empty render queue. What I suspect is that when C4D initializes it executes my plugin, and THEN it loads the the queue. Do you have any ideas how to make it work?

      1 Reply Last reply Reply Quote 0
      • P
        PluginStudent
        last edited by

        When does Cinema execute your plugin? What kind of plugin did you write? How do you open and start the render queue?

        Just to throw something in: in a Python plugin, you can implement PluginMessage(). There you can listen for c4d.C4DPL_PROGRAM_STARTED, after which everything should be ready.

        K 1 Reply Last reply Reply Quote 1
        • K
          karol_w
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • K
            karol_w @PluginStudent
            last edited by

            @PluginStudent Thank you very much! That did the trick.

            1 Reply Last reply Reply Quote 0
            • ManuelM
              Manuel
              last edited by

              hello,

              thanks @PluginStudent 😄

              @karol_w welcome to the forum,

              just want to point you to our forum rules, we marked that thread as a question and set it as solved. This help us to keep the forum organized. Be aware that a negative answer is still a "solved" question to us.

              please have a look at those thread to be a bit familiar with the forum's tools

              • Q&A New Functionality.
              • How to Post Questions especially the tagging part.

              Cheers,
              Manuel

              MAXON SDK Specialist

              MAXON Registered Developer

              1 Reply Last reply Reply Quote 0
              • Z
                zandm
                last edited by

                Hi @karol_w! This is exactly what I am looking for, because Octane keeps crashing on me. Unfortunately, I am not very good with coding. Is there any chance you would share your plug-in? Or point me towards where to find resources to build that myself? Thank you very much!

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