Hello Im working on really big project and I need to exclude all collections from layerand reverse using script I tried this
coll = bpy.data.collections
for c in coll:
c.exclude = False
But it doesnt seem to work, any ideas where it went wrong or how to solve my problem? Any help is appreciated.