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.
IFC4 and IFC4X3 only: it writes their layout and leaves
OwnerHistory $, which IFC2X3 requires. In IFC2X3 use
fill_element_with_owner_history, which binds the model’s declared
release.
§Errors
Refuses a malformed GlobalId and an opening filled by itself.