mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Removing an element now also purges connection relationships
This commit is contained in:
@@ -70,4 +70,6 @@ class Usecase:
|
||||
elif inverse.is_a("IfcRelContainedInSpatialStructure"):
|
||||
if inverse.RelatingStructure == self.settings["product"] or len(inverse.RelatedElements) == 1:
|
||||
self.file.remove(inverse)
|
||||
elif inverse.is_a("IfcRelConnectsPathElements"):
|
||||
self.file.remove(inverse)
|
||||
self.file.remove(self.settings["product"])
|
||||
|
||||
Reference in New Issue
Block a user