mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
use IFC4X3_ADD2 for ifcopenshell.schema_by_name
as it is the main IFC4X3 schema
This commit is contained in:
@@ -222,7 +222,7 @@ def schema_by_name(
|
|||||||
prefixes = ("IFC", "X", "_ADD", "_TC")
|
prefixes = ("IFC", "X", "_ADD", "_TC")
|
||||||
schema = "".join("".join(map(str, t)) if t[1] else "" for t in zip(prefixes, schema_version))
|
schema = "".join("".join(map(str, t)) if t[1] else "" for t in zip(prefixes, schema_version))
|
||||||
else:
|
else:
|
||||||
schema = {"IFC4X3": "IFC4X3_ADD1"}.get(schema, schema)
|
schema = {"IFC4X3": "IFC4X3_ADD2"}.get(schema, schema)
|
||||||
return ifcopenshell_wrapper.schema_by_name(schema)
|
return ifcopenshell_wrapper.schema_by_name(schema)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user