Run command, after c4d fully loaded...
I'm trying to render hundreds of scenes.
Currently using the C4D "Render Queue".
However, C4D is crashing for some unknown reason.
It's very tiring to keep watching C4D.
I found a way to restart C4D whenever C4D crashes.
Now I'm looking for a way to open the "render queue window" and run the "render start" command after the C4D is fully loaded.
python_init.py is of no use as it is done before C4D is fully loaded.
Is it possible in C4D to?
1.Open C4D, Fully Loaded
2.Open "Render Queue" Window
3.Run Command "Render Start"(in Render Queue)
Shouldn't that be possible in PluginMessage() with id == C4DPL_STARTACTIVITY?
id == C4DPL_STARTACTIVITY?
I actually sell a plugin that lets you specify a python file to run on startup but before the scene loads. And it also can call another python file after a scene loads. This is mainly used by Render Farms.
You would start C4D like this
c:\Program Files\Maxon Cinema 4D R25\Cinema 4D.exe -runpython "F:\createcube.py"
thank you for reaching out to us and please excuse the slight delay in my answer. While the answers given here are all helpful (thanks guys!), I would press for taking a few steps back.
Thank you.. It's Solved.
@fwilleke80 @ferdinand and @kbar
def PluginMessage(_id, data):
if _id == c4d.C4DPL_PROGRAM_STARTED: