Skip to main content

connect_port_to_element

Function connect_port_to_element 

Source
pub fn connect_port_to_element(
    tx: &mut Transaction,
    global_id: &str,
    port: EntityId,
    element: EntityId,
) -> SystemAuthoringResult<EntityId>
Expand description

Stage an IfcRelConnectsPortToElement.

Writes OwnerHistory $, so the record is IFC4/IFC4X3 only; use connect_port_to_element_with_owner_history for IFC2X3.

ยงErrors

Refuses a malformed GlobalId.