Add flow direction handling to port connection logic and UI updates

This commit is contained in:
falken10vdl
2026-01-12 12:19:13 +01:00
parent e5ccd26762
commit 1eb2b65268
5 changed files with 14 additions and 12 deletions
@@ -66,8 +66,6 @@ def disconnect_port(file: ifcopenshell.file, port: ifcopenshell.entity_instance)
rels += port.ConnectedFrom or ()
for rel in rels:
rel.RelatingPort.FlowDirection = None
rel.RelatedPort.FlowDirection = None
history = rel.OwnerHistory
file.remove(rel)
if history: