Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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)
Thank You....
Shouldn't that be possible in PluginMessage() with id == C4DPL_STARTACTIVITY?
PluginMessage()
id == C4DPL_STARTACTIVITY?
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/misc/pluginstructure.html?highlight=pluginmessage#PluginMessage
Cheers, Frank
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.
https://plugins4d.gumroad.com/l/callpython
You would start C4D like this
c:\Program Files\Maxon Cinema 4D R25\Cinema 4D.exe -runpython "F:\createcube.py"
Hello @ymoon,
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.
Commandline
c4dpy
C4DPL_STARTACTIVITY
Cheers, Ferdinand
Thank you.. It's Solved. @fwilleke80 @ferdinand and @kbar
def PluginMessage(_id, data): if _id == c4d.C4DPL_PROGRAM_STARTED: