How to create a instance of a collection from a Python Script/addon
without using the
With the operator I use something like:
bpy.ops.object.collection_instance_add( collection=the_name_of_the_collection_to_use, align='WORLD', location=(0, 0, 0), rotation=(0, 0, 0), )
With this I get no reference to the resulting object, and also don't know how it is named (automatic name wrangling).