mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 01:30:01 +00:00
Minor fix
This commit is contained in:
@@ -24,7 +24,7 @@ class Usecase:
|
||||
if related_elements:
|
||||
contained_in_structure[0].RelatedElements = related_elements
|
||||
else:
|
||||
self.file.remove(contained_in_structure)
|
||||
self.file.remove(contained_in_structure[0])
|
||||
|
||||
if contains_elements:
|
||||
related_elements = list(contains_elements[0].RelatedElements)
|
||||
|
||||
Reference in New Issue
Block a user