I know that I can change render settings with e.g. C.scene.render.resolution_x
, but I have the values I want stored in one of these:
I don't know what they're called, I'd call them something like "custom property presets" but it seems like those words have different meanings in the Python API.
I know they're not in the .blend file themselves, so I assume there's some way to read them from the API that handles system-wide preferences. I'm looking to be able to do something like:
C.scene.render.resolution_x = C.preferences.output.format.presets['HDTV 1080p'].resolution_x