fix issue after removing ifcopenshell.main in d76462ca4

This commit is contained in:
Andrej730
2024-05-07 21:26:48 +05:00
parent c5b4513f65
commit 267527f3fc
@@ -22,7 +22,7 @@ import uuid
from .file import file
from .guid import compress
from . import main
from .ifcopenshell_wrapper import version
# A quick way to setup an 'empty' IFC file, taken from:
# http://academy.ifcopenshell.org/creating-a-simple-wall-with-property-set-and-quantity-information/
@@ -58,8 +58,8 @@ END-ISO-10303-21;
"""
DEFAULTS = {
"application": lambda d: "IfcOpenShell-%s" % main.version,
"application_version": lambda d: main.version,
"application": lambda d: "IfcOpenShell-%s" % version(),
"application_version": lambda d: version(),
"project_globalid": lambda d: compress(uuid.uuid4().hex),
"schema_identifier": lambda d: "IFC4",
"timestamp": lambda d: int(time.time()),