I'm trying to access the Save checkbox on the left side of the Render Settings panel (marked in red in the image below). I'm able to get and set the Save checkbox under the "Regular Image" area under the Save settings, but can't figure out how to access that master "Save" checkbox. I've searched high and low, but haven't found a way yet. Is that checkbox accessible with Python?
Thanks in advance for any answers!
Hi @COLOR-matt, first of all welcome in the Cinema 4D plugin development community. Not a big issue I setup your topic as a question, but please for the next one try to do so (for more information see Forum Guidelines - Ask a question)
Regarding your issue this can be done like so
rd = doc.GetActiveRenderData()
rd[c4d.RDATA_GLOBALSAVE] = False
The next Ids are not documented, and can't be dragged into the console, so there is no good way to find them from a external point of view and I had to look into Cinema 4D code base to find them.
Just to add the info; if the entry in the tree is a BaseVideoPost, the checkbox is represented by the flag BIT_VPDISABLED in the BaseList2D's bitset, which you can access through the corresponding functions GetBit, SetBit, DelBit, or ToggleBit, e.g.
Note that this is a disabling bit, not an enabling, so the effect on the checkboxes is kinda reversed.
(This applies to the entry "Magic Bullets Looks" in the screenshot above, but also to any added Effect and Renderer.)
Thanks so much @m_adam and @Cairyn for your answers!