Skip to main content

project_element

Function project_element 

Source
pub fn project_element(
    tx: &mut Transaction,
    global_id: &str,
    element: EntityId,
    feature: EntityId,
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelProjectsElement: a feature added to an element.

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

§Errors

Refuses a malformed GlobalId and an element projecting from itself.