Jump to content

Madara

Regular Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Noble Beginner

Profile Information

  • First Name
    Mateusz
  • Last Name
    Kolodziejczyk
  • C4D Version
    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()
×
×
  • Create New...