Blender python script - unhide collections from render
Ok this was my bad. I got it right first time by using:
bpy.data.collections[&quot;COMMON REAL ESTATE&quot;].hide_render=False

BUT, I have nested collections in collections. So in this example I wanted to render objects in &quot;COMMON REAL ESTATE&quot;, but &quot;COMMON REAL ESTATE&quot; is a child to another collection called &quot;REAL ESTATE&quot;, which you also have to activate for rendering. It's not like the &quot;Exclude from View Layer&quot; checkbox where you can just dive in and tick the box anywhere in the chain and it'll render.