From fa46eb140fd1fbe63dc27a1d5ad6fd5404be69f4 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 9 Jan 2022 11:41:24 +0100 Subject: [PATCH] Update template.py `main.schema_identifier` doesn't exist --- src/ifcopenshell-python/ifcopenshell/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/template.py b/src/ifcopenshell-python/ifcopenshell/template.py index 20d23aca33..7524447357 100644 --- a/src/ifcopenshell-python/ifcopenshell/template.py +++ b/src/ifcopenshell-python/ifcopenshell/template.py @@ -65,7 +65,7 @@ DEFAULTS = { "application": lambda d: "IfcOpenShell-%s" % main.version, "application_version": lambda d: main.version, "project_globalid": lambda d: compress(uuid.uuid4().hex), - "schema_identifier": lambda d: main.schema_identifier, + "schema_identifier": lambda d: "IFC4", "timestamp": lambda d: int(time.time()), "timestring": lambda d: time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime(d.get("timestamp") or time.time())), }