From 8fb4be610814fc0098c3905368903e95d034aaff Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 25 Nov 2024 13:16:34 +0100 Subject: [PATCH] BIM: Set opening name - fixes #16948 --- src/Mod/BIM/nativeifc/ifc_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/BIM/nativeifc/ifc_tools.py b/src/Mod/BIM/nativeifc/ifc_tools.py index af0cabbe51..132eefcb13 100644 --- a/src/Mod/BIM/nativeifc/ifc_tools.py +++ b/src/Mod/BIM/nativeifc/ifc_tools.py @@ -1213,6 +1213,7 @@ def create_relationship(old_obj, obj, parent, element, ifcfile): tempface, tempobj = get_subvolume(old_obj) if tempobj: opening = create_product(tempobj, parent, ifcfile, "IfcOpeningElement") + set_attribute(ifcfile, product, "Name", "Opening") old_obj.Document.removeObject(tempobj.Name) if tempface: old_obj.Document.removeObject(tempface.Name)