From ea006aba10aa2b1a0c69125023c88fd96c942785 Mon Sep 17 00:00:00 2001 From: tetektoza Date: Tue, 17 Jun 2025 01:30:02 +0200 Subject: [PATCH] BIM: Fix IFC type assignment not being saved to file As the title says, this is simple fix - basically right now anytime user changed Link property to point to proper IFC type, we weren't writing to the IFC file buffer to finally write it to the file if user would save it. So this patch makes sure we write to this buffer by calling appropriate function, and making ifc object have proper pointer to IFC type. --- src/Mod/BIM/nativeifc/ifc_objects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/BIM/nativeifc/ifc_objects.py b/src/Mod/BIM/nativeifc/ifc_objects.py index 245d1e213f..3557c72ed7 100644 --- a/src/Mod/BIM/nativeifc/ifc_objects.py +++ b/src/Mod/BIM/nativeifc/ifc_objects.py @@ -65,6 +65,7 @@ class ifc_object: elif prop == "Schema": self.edit_schema(obj, obj.Schema) elif prop == "Type": + self.edit_type(obj) self.assign_classification(obj) elif prop == "Classification": self.edit_classification(obj)