Add IFC4 support for functions get_connected_to and get_connected_from in util.system

This commit is contained in:
Chun
2023-03-14 00:59:52 +08:00
committed by Dion Moult
parent a9636c5038
commit 70ff73f805
@@ -91,7 +91,6 @@ def get_connected_to(element):
return results
def get_connected_from(element):
# Note: this code is for IFC2X3. IFC4 has a different approach.
results = []
for port in ifcopenshell.util.system.get_ports(element):
for relConnectsPort in port.ConnectedFrom: