PsetQto - interpret IFC4X3 as IFC4X3_ADD2 #5732

This commit is contained in:
Andrej730
2024-11-12 14:52:37 +05:00
parent be6e9200b6
commit ecff7980b3
@@ -45,6 +45,8 @@ class PsetQto:
# fmt: on
def __init__(self, schema_identifier: str, templates=None) -> None:
if schema_identifier == "IFC4X3":
schema_identifier = "IFC4X3_ADD2"
self.schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_identifier)
if not templates:
folder_path = pathlib.Path(__file__).parent.absolute()