Solved Rendering render queue on program startup

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?

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.

This post is deleted!

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


thanks @PluginStudent :D

@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


MAXON SDK Specialist

MAXON Registered Developer

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!