From f48060e7c77b028fae82d208a70ae7d58ea4257b Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 23 Jul 2023 15:42:09 +1000 Subject: [PATCH] Fix #3488. Minor regression in IFC4X3 mapping. --- src/ifcopenshell-python/ifcopenshell/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/file.py b/src/ifcopenshell-python/ifcopenshell/file.py index dfd3cf5638..6b77a78b5e 100644 --- a/src/ifcopenshell-python/ifcopenshell/file.py +++ b/src/ifcopenshell-python/ifcopenshell/file.py @@ -315,7 +315,7 @@ class file(object): """ eid = kwargs.pop("id", -1) - e = entity_instance((self.schema, type), self) + e = entity_instance((self.schema_identifier, type), self) # Create pairs of {attribute index, attribute value}. # Keyword arguments are mapped to their corresponding