From b44a1cb2e29a554ccbc3dac7ee0746961372aa3b Mon Sep 17 00:00:00 2001 From: Sigma Dimensions <79010126+myoualid@users.noreply.github.com> Date: Mon, 5 Sep 2022 01:46:19 +0100 Subject: [PATCH] Fix 4d import context --- src/ifc4d/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifc4d/__main__.py b/src/ifc4d/__main__.py index db69d96a3f..a4e8087a54 100644 --- a/src/ifc4d/__main__.py +++ b/src/ifc4d/__main__.py @@ -27,7 +27,7 @@ def get_file(): elif args.output: ifc = ifcopenshell.file(schema='IFC4') ifc.create_entity("IfcWorkPlan") - ifc.create_entity("IfcContext") + ifc.create_entity("IfcProject") ifc.write(args.output) ifcfile = ifcopenshell.open(args.output) else: