Skip to main content

reference_in_spatial_structure

Function reference_in_spatial_structure 

Source
pub fn reference_in_spatial_structure(
    tx: &mut Transaction,
    global_id: &str,
    structure: EntityId,
    elements: &[EntityId],
) -> SystemAuthoringResult<EntityId>
Expand description

Stage an IfcRelReferencedInSpatialStructure.

The non-exclusive counterpart of containment.

Writes OwnerHistory $, so the record is IFC4/IFC4X3 only; use reference_in_spatial_structure_with_owner_history for IFC2X3.

ยงErrors

Refuses a malformed GlobalId, an empty element list, and the structure listed among its own references.