mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
len(get_inverse) -> get_total_inverses
This commit is contained in:
@@ -174,7 +174,7 @@ class Usecase:
|
||||
new_items.append(self.create_styled_item(item_to_reuse))
|
||||
representation.Items = new_items
|
||||
for item in same_style_items:
|
||||
if len(self.file.get_inverse(item)) == 0:
|
||||
if self.file.get_total_inverses(item) == 0:
|
||||
self.file.remove(item)
|
||||
else:
|
||||
representations = list(definition_representation.Representations)
|
||||
|
||||
Reference in New Issue
Block a user