mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Fix minor bug where libraries don't exist
This commit is contained in:
@@ -575,7 +575,7 @@ class IfcExporter():
|
|||||||
library['ifc'] = self.file.create_entity(library['class'], **library['attributes'])
|
library['ifc'] = self.file.create_entity(library['class'], **library['attributes'])
|
||||||
self.file.createIfcRelDeclares(
|
self.file.createIfcRelDeclares(
|
||||||
ifcopenshell.guid.new(), self.owner_history,
|
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])
|
self.ifc_parser.project['ifc'], [l['ifc'] for l in self.ifc_parser.libraries])
|
||||||
|
|
||||||
def create_map_conversion(self):
|
def create_map_conversion(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user