Skip to main content

control_flow_element

Function control_flow_element 

Source
pub fn control_flow_element(
    tx: &mut Transaction,
    global_id: &str,
    flow_element: EntityId,
    controls: &[EntityId],
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelFlowControlElements: controls bound to a flow element.

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

§Errors

Refuses a malformed GlobalId, an empty control set, and the flow element listed among its own controls.