Skip to main content

fill_element

Function fill_element 

Source
pub fn fill_element(
    tx: &mut Transaction,
    global_id: &str,
    opening: EntityId,
    filling: EntityId,
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelFillsElement: an element filling an opening.

Note the direction. The opening is the relating end here, the inverse of void_element: a wall is voided by an opening, and that opening is filled by a door.

ยงErrors

Refuses a malformed GlobalId and an opening filled by itself.