Skip to main content

adhere_to_element

Function adhere_to_element 

Source
pub fn adhere_to_element(
    tx: &mut Transaction,
    global_id: &str,
    element: EntityId,
    features: &[EntityId],
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelAdheresToElement: surface features bound to an element.

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

§Errors

Refuses a malformed GlobalId, an empty feature set, and an element listed among its own features.