mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
You can now remove structural connection conditions + minor mods
This commit is contained in:
+2
-3
@@ -8,7 +8,6 @@ class Usecase:
|
||||
def execute(self):
|
||||
if not self.settings["connection"].AppliedCondition:
|
||||
return
|
||||
if len(self.file.get_inverse(self.settings["connection"].AppliedCondition)) > 1:
|
||||
self.settings["connection"].AppliedCondition = None
|
||||
else:
|
||||
if len(self.file.get_inverse(self.settings["connection"].AppliedCondition)) == 1:
|
||||
self.file.remove(self.settings["connection"].AppliedCondition)
|
||||
self.settings["connection"].AppliedCondition = None
|
||||
|
||||
Reference in New Issue
Block a user