mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Fix 4d import context
This commit is contained in:
@@ -27,7 +27,7 @@ def get_file():
|
|||||||
elif args.output:
|
elif args.output:
|
||||||
ifc = ifcopenshell.file(schema='IFC4')
|
ifc = ifcopenshell.file(schema='IFC4')
|
||||||
ifc.create_entity("IfcWorkPlan")
|
ifc.create_entity("IfcWorkPlan")
|
||||||
ifc.create_entity("IfcContext")
|
ifc.create_entity("IfcProject")
|
||||||
ifc.write(args.output)
|
ifc.write(args.output)
|
||||||
ifcfile = ifcopenshell.open(args.output)
|
ifcfile = ifcopenshell.open(args.output)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user