From 7f84c2ea631c9286b9f8ce3f123228aa92bf1270 Mon Sep 17 00:00:00 2001 From: Gorgious Date: Wed, 25 Aug 2021 17:21:10 +0200 Subject: [PATCH] Filter select entities in import_attributes --- src/blenderbim/blenderbim/bim/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/helper.py b/src/blenderbim/blenderbim/bim/helper.py index 8b7dfc6c1d..a7eaabb028 100644 --- a/src/blenderbim/blenderbim/bim/helper.py +++ b/src/blenderbim/blenderbim/bim/helper.py @@ -53,7 +53,7 @@ def draw_attribute(attribute, layout, copy_operator=None): def import_attributes(ifc_class, props, data, callback=None): for attribute in IfcStore.get_schema().declaration_by_name(ifc_class).all_attributes(): data_type = ifcopenshell.util.attribute.get_primitive_type(attribute) - if isinstance(data_type, tuple) or data_type == "entity": + if isinstance(data_type, tuple) or data_type in ("entity", "select"): callback(attribute.name(), None, data) if callback else None continue new = props.add()