mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
PsetQto - interpret IFC4X3 as IFC4X3_ADD2 #5732
This commit is contained in:
@@ -45,6 +45,8 @@ class PsetQto:
|
|||||||
# fmt: on
|
# fmt: on
|
||||||
|
|
||||||
def __init__(self, schema_identifier: str, templates=None) -> None:
|
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)
|
self.schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_identifier)
|
||||||
if not templates:
|
if not templates:
|
||||||
folder_path = pathlib.Path(__file__).parent.absolute()
|
folder_path = pathlib.Path(__file__).parent.absolute()
|
||||||
|
|||||||
Reference in New Issue
Block a user