Jump to content

Madara

New Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Poor

Profile Information

  • First Name
    Mateusz
  • Last Name
    Kolodziejczyk
  • C4D Ver
    R17.055 Broadcast
  1. Hi everyone. I need to change the render settings of the queued scene in the Render Queue. Is there any way to access the dropdown to change render settings before sending the scene to render? I can't find any pieces of information in the python scripting documentation. What I have now is the script that changes render settings in C4D, saves file, adds the current scene to the render queue, reverts the settings to proof, saves the file again. That's double saving and I would like to avoid it. import c4d from c4d import documents, plugins, storage, gui def GetNextObject(op): if op==None: return None if op.GetDown(): return op.GetDown() while not op.GetNext() and op.GetUp(): op = op.GetUp() return op.GetNext() def RDFindAndActivate(name): # needs GetNextObject myRD = doc.GetFirstRenderData() if myRD==None: return while myRD: if myRD.GetName() == name: doc.SetActiveRenderData(myRD) c4d.EventAdd myRD = GetNextObject(myRD) def Workflow(): c4d.CallCommand(465003519, 465003519) RDFindAndActivate("Print Rendering_0614") c4d.CallCommand(465003525, 465003525) c4d.CallCommand(465003513) RDFindAndActivate("Proof Rendering_0614") def main(): Workflow() c4d.EventAdd() if __name__=='__main__': main()

YOUTUBE CHANNEL:

ABOUT US:

C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
×
×
  • Create New...