Utility_Apps/Blender/simple scripts/swap out a collection instance with another/swap out a collection instance with another.py
2025-07-11 08:27:54 -05:00

6 lines
No EOL
199 B
Python

import bpy
# Change the instanced collection of a collection instance
obj = bpy.context.active_object
new_collection = bpy.data.collections['Full Courtyard']
obj.instance_collection = new_collection