diff --git a/src/blenderbim/blenderbim/bim/module/project/operator.py b/src/blenderbim/blenderbim/bim/module/project/operator.py index de60bb9f7a..d4297e4039 100644 --- a/src/blenderbim/blenderbim/bim/module/project/operator.py +++ b/src/blenderbim/blenderbim/bim/module/project/operator.py @@ -371,7 +371,7 @@ class AppendLibraryElement(bpy.types.Operator): if not type_collection: type_collection = bpy.data.collections.new("Types") for collection in bpy.context.view_layer.layer_collection.children: - collection_obj = collection.BIMCollectionProperties.obj + collection_obj = collection.collection.BIMCollectionProperties.obj if collection_obj and tool.Ifc.get_entity(collection_obj).is_a("IfcProject"): collection.collection.children.link(type_collection) collection.children["Types"].hide_viewport = True