use IFC4X3_ADD2 for ifcopenshell.schema_by_name

as it is the main IFC4X3 schema
This commit is contained in:
Andrej730
2024-04-22 16:55:22 +05:00
parent aeb64acc07
commit fabebb4ff6
@@ -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)