This commit is contained in:
Andrej730
2024-08-30 16:56:13 +05:00
parent ccbb253d2c
commit 3c333c6b59
8 changed files with 17 additions and 11 deletions
@@ -22,11 +22,12 @@ import time
import ifcopenshell
import ifcopenshell.util.attribute
import ifcopenshell.ifcopenshell_wrapper as ifcopenshell_wrapper
from typing import Union, Any
from typing import Union, Any, Literal
# This is highly experimental and incomplete, however, it may work for simple datasets.
cwd = os.path.dirname(os.path.realpath(__file__))
IFC_SCHEMA = Literal["IFC2X3", "IFC4", "IFC4X3"]
def get_fallback_schema(version: str) -> str: