From b65f2ca062679eaf27fd233c7bc758ee508b67a3 Mon Sep 17 00:00:00 2001 From: Cyril Waechter Date: Tue, 30 Nov 2021 03:35:55 +0100 Subject: [PATCH] Allow to assign IfcRelSpaceBoundary to an object (#1902) --- src/blenderbim/blenderbim/bim/module/root/operator.py | 1 + src/blenderbim/blenderbim/bim/module/root/prop.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/blenderbim/blenderbim/bim/module/root/operator.py b/src/blenderbim/blenderbim/bim/module/root/operator.py index fab321445a..6317ecba68 100644 --- a/src/blenderbim/blenderbim/bim/module/root/operator.py +++ b/src/blenderbim/blenderbim/bim/module/root/operator.py @@ -59,6 +59,7 @@ class EnableReassignClass(bpy.types.Operator): "IfcPositioningElement", "IfcContext", "IfcAnnotation", + "IfcRelSpaceBoundary", ] for ifc_product in ifc_products: if ifcopenshell.util.schema.is_a(IfcStore.get_schema().declaration_by_name(ifc_class), ifc_product): diff --git a/src/blenderbim/blenderbim/bim/module/root/prop.py b/src/blenderbim/blenderbim/bim/module/root/prop.py index 1e73812bf3..00d28fd207 100644 --- a/src/blenderbim/blenderbim/bim/module/root/prop.py +++ b/src/blenderbim/blenderbim/bim/module/root/prop.py @@ -90,6 +90,7 @@ def getIfcProducts(self, context): "IfcStructuralItem", "IfcContext", "IfcAnnotation", + "IfcRelSpaceBoundary", ] ] )