diff --git a/src/ifcblenderexport/io_export_ifc/export_ifc.py b/src/ifcblenderexport/io_export_ifc/export_ifc.py index 5d995d28bb..2098e6a98d 100644 --- a/src/ifcblenderexport/io_export_ifc/export_ifc.py +++ b/src/ifcblenderexport/io_export_ifc/export_ifc.py @@ -689,7 +689,8 @@ class IfcParser(): return collection_tree def get_spatial_structure_element_reference(self, name): - return [ e['attributes']['Name'] for e in self.spatial_structure_elements ].index(self.get_ifc_name(name)) + return [ '{}/{}'.format(e['class'], e['attributes']['Name']) for e in + self.spatial_structure_elements ].index(name) def get_type_product_reference(self, name): return [ p['attributes']['Name'] for p in self.type_products ].index(self.get_ifc_name(name))