Skip to main content

connect_elements

Function connect_elements 

Source
pub fn connect_elements(
    tx: &mut Transaction,
    global_id: &str,
    relating: EntityId,
    related: EntityId,
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelConnectsElements: two elements physically joined.

IFC4 and IFC4X3 only: it writes their layout and leaves OwnerHistory $, which IFC2X3 requires. In IFC2X3 use connect_elements_with_owner_history, which binds the model’s declared release.

§Errors

Refuses a malformed GlobalId and an element connected to itself.