You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
Currently Blender Collection instances are not exported to the FDS case.
This is rather easy to fix.
Here is a basic demo on how to append all object names in selection as well as the object names of the selected collection instances to one list and and count the items:
import bpy
C = bpy.context
objs = []
for ob in C.selected_objects:
if ob.instance_type == 'COLLECTION':
for ob_col in ob.instance_collection.objects:
objs.append(ob_col.name)
else:
objs.append(ob.name)
print ("{} objects in selection".format(len(objs)))
I am also wondering if collection.children_recursive gets Collection instances.