mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Add IFC4 support for functions get_connected_to and get_connected_from in util.system
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user