mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
fix issue after removing ifcopenshell.main in d76462ca4
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user