From 0bf149c8949bd1885c3005ada12281eb8a57b36a Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 9 Sep 2019 12:48:42 +1000 Subject: [PATCH] Fix minor bug where libraries don't exist --- src/ifcblenderexport/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcblenderexport/export.py b/src/ifcblenderexport/export.py index 662a5684de..8a81e6e872 100644 --- a/src/ifcblenderexport/export.py +++ b/src/ifcblenderexport/export.py @@ -575,7 +575,7 @@ class IfcExporter(): library['ifc'] = self.file.create_entity(library['class'], **library['attributes']) self.file.createIfcRelDeclares( ifcopenshell.guid.new(), self.owner_history, - library['attributes']['Name'], None, + None, None, self.ifc_parser.project['ifc'], [l['ifc'] for l in self.ifc_parser.libraries]) def create_map_conversion(self):