This commit is contained in:
Andrej730
2024-05-10 11:21:53 +05:00
parent e7eb00eaa3
commit c50d1ea2fe
105 changed files with 502 additions and 251 deletions
@@ -18,9 +18,12 @@
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.util.element
def unassign_port(file, element=None, port=None) -> None:
def unassign_port(
file: ifcopenshell.file, element: ifcopenshell.entity_instance, port: ifcopenshell.entity_instance
) -> None:
"""Unassigns a port to an element
Ports are typically always assigned to a distribution element, but in