mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
len(get_inverse) -> get_total_inverses
This commit is contained in:
@@ -117,7 +117,7 @@ class Usecase:
|
||||
for element in rel.RelatedObjects:
|
||||
self.change_profile(element, profile)
|
||||
|
||||
if old_profile and len(self.file.get_inverse(old_profile)) == 0:
|
||||
if old_profile and self.file.get_total_inverses(old_profile) == 0:
|
||||
# TODO: check remove deep
|
||||
self.file.remove(old_profile)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user