From 0f37eca333da829fb6c9795f8111760a58c35ecd Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 9 May 2025 15:24:30 +1000 Subject: [PATCH] Fix bug in IFC4X3 when convering properties to quantities --- src/ifcpatch/ifcpatch/recipes/ConvertPropertiesToQuantities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcpatch/ifcpatch/recipes/ConvertPropertiesToQuantities.py b/src/ifcpatch/ifcpatch/recipes/ConvertPropertiesToQuantities.py index 5667defdbb..74c28fb0e3 100644 --- a/src/ifcpatch/ifcpatch/recipes/ConvertPropertiesToQuantities.py +++ b/src/ifcpatch/ifcpatch/recipes/ConvertPropertiesToQuantities.py @@ -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"