text: 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).
  We found a good workaround! We now made a custom commandline plugin where we can add our own arguments. And it works great. If anybody in the future has this issue you can always contact us and we will help.
  Thanks again everybody for all the help!
  Hi @r_gigante,
  Would still love if you guys can create something that enabled you to change assets paths with python.
  Hopefully it can be added to the feature list.
  Thank you. Maxime,
  Thank you for the response, we are trying out a few others methods now. There is not much confidential, it just comes down to our current queue manager software and workflow methods here, and with that this option from Zipit is not ideal.
  Thank you very much for all the support guys, I will update this post when we know more.
  Stay safe!
  This is exactly what I also need, only just for Python.
  Thanks Zipit and PluginStudent,
  @PluginStudent I already use the Pluginmessage function, see example below.
  def PluginMessage(id, data):
  if id == c4d.C4DPL_COMMANDLINEARGS:
  argstring = ' '.join(sys.argv)
  if "- customsubs" in argstring:
  CommandRenderChangesomething(sys.argv)
  return True
  But than you have the problem that is not running before the -render command just like you said. It all about the order of operations I think. Cinema needs to wait until the script is done before starting the render.
  @zipit Very interesting and something to look at. I already have another workaround. I can set a RenderDocument function in the script. Meaning I will do everything from the script. Making the adjustments and also the rendering. Skipping the whole -render.
  But I like to do it with the method above for many reason to long to explain:D Something like this must be possible right? Or maybe not
  Hi All!
  I'm trying to run a python script before running a command line render. For example, change the subdivisions of a scene before you render the project.
  The problem is the order of operations. The example below doesn't work.
  The custom script is called -customsubs and works with the C4DPL_COMMANDLINEARGS function.
  "C:\Program Files\MAXON\Cinema 4D R21\Commandline.exe" -render%userprofile%\Desktop\test.c4d -frame 0 0 -oimage %userprofile%\Desktop\test -omultipass %userprofile%\Desktop\test_mp -oformat TIFF -customsubs
  I found a user with a similar problem but he is using C++ and this method of priorities is not working with python as far as I know.
  Link to user with same problem
  So the questions is: How can I run a custom python script before the -render command?
  Thanks you!:)
  Did some testing, it seems there is a bug with the intersection selection. It does not work correctly when you enable "hide new lines" previously this was working.
  In the file I added you can see the incorrect intersection. If you turn off hide new lines it seems to work again. But this was previously working with this option turned on.
  Hopefully Maxon can fix this issue.
  Bug_Maxon_Boolean_01.c4d
  Hi mp5gosu & Andreas,
  Thanks for the help! This should do the trick!
  I need to convert this to Python, since I don't know C++, should start learning that soon.
  Any help with this would be awesome of course!
  And thanks for the change to the new workflow, will keep this in mind!:)