mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
Fix bug where deleted objects were not cleared after saving
This commit is contained in:
@@ -97,6 +97,7 @@ class IfcExporter:
|
|||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
ifcopenshell.api.run("root.remove_product", self.file, **{"product": product})
|
ifcopenshell.api.run("root.remove_product", self.file, **{"product": product})
|
||||||
|
IfcStore.deleted_ids.clear()
|
||||||
return results
|
return results
|
||||||
|
|
||||||
def sync_all_objects(self):
|
def sync_all_objects(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user