From fabebb4ff6caabf4e34ad8d4ab5dae1ec10935c5 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 22 Apr 2024 16:55:22 +0500 Subject: [PATCH] use IFC4X3_ADD2 for ifcopenshell.schema_by_name as it is the main IFC4X3 schema --- src/ifcopenshell-python/ifcopenshell/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/__init__.py b/src/ifcopenshell-python/ifcopenshell/__init__.py index fb984b7176..3f4a6acaa2 100644 --- a/src/ifcopenshell-python/ifcopenshell/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/__init__.py @@ -222,7 +222,7 @@ def schema_by_name( prefixes = ("IFC", "X", "_ADD", "_TC") schema = "".join("".join(map(str, t)) if t[1] else "" for t in zip(prefixes, schema_version)) else: - schema = {"IFC4X3": "IFC4X3_ADD1"}.get(schema, schema) + schema = {"IFC4X3": "IFC4X3_ADD2"}.get(schema, schema) return ifcopenshell_wrapper.schema_by_name(schema)