Skip to content

Commit

Permalink
use IFC4X3_ADD2 for ifcopenshell.schema_by_name
Browse files Browse the repository at this point in the history
as it is the main IFC4X3 schema
  • Loading branch information
Andrej730 committed Apr 22, 2024
1 parent 34a4e3f commit 4efe284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ifcopenshell-python/ifcopenshell/__init__.py
Expand Up @@ -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)


Expand Down

0 comments on commit 4efe284

Please sign in to comment.