mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
See #3974. WIP review to ensure history removal in API.
This commit is contained in:
@@ -111,6 +111,7 @@ class Usecase:
|
||||
self.change_profile(element)
|
||||
|
||||
if old_profile and len(self.file.get_inverse(old_profile)) == 0:
|
||||
# TODO: check remove deep
|
||||
self.file.remove(old_profile)
|
||||
|
||||
def change_profile(self, element):
|
||||
|
||||
Reference in New Issue
Block a user