Fix bug in IFC4X3 when convering properties to quantities

This commit is contained in:
Dion Moult
2025-05-09 15:24:30 +10:00
parent 6bf9b8b0c9
commit 0f37eca333
@@ -66,7 +66,7 @@ class Patcher:
def patch(self) -> None:
self.qto_template_cache: dict[str, list[ifcopenshell.entity_instance]] = {}
templates_schema = self.file.schema
templates_schema = self.file.schema_identifier
# No official qto templates in IFC2X3, fallback to IFC4.
if templates_schema == "IFC2X3":
templates_schema = "IFC4"