IfcRelReferencedInSpatialStructure

Definition from IAI: This objectified relationship, IfcRelReferencedInSpatialStructure, is used to assign elements in addition to those levels of the project spatial structure, in which they are referenced, but not primarily contained.

> NOTE The primary containment relationship between an element and the spatial structure is handled by IfcRelContainsInSpatialStructure.

Any element can be referenced to zero, one or several levels of the spatial structure. Whereas the IfcRelContainsInSpatialStructure relationship is required to be hierarchical (an element can only be contained in exactly one spatial structure element), the IfcRelReferencedInSpatialStructure is not restricted to be hierarchical.

> EXAMPLE A wall might be normally contained within a storey, and since it does not span through several stories, it is not referenced in any additional storey. However a curtain wall might span through several stories, in this case it can be contained within the ground floor, but it would be referenced by all additional stories, it spans.

Predefined spatial structure elements to which elements can be assigned are

- site as IfcSite
- building as IfcBuilding
- storey as IfcBuildingStorey
- space as IfcSpace

The same element can be assigned to different spatial structure elements depending on the context.

> HISTORY New entity in Release IFC2x Edition 3.

Use Definition

The figure shows the use of IfcRelContainedInSpatialStructure and IfcRelReferencedInSpatialStructure to assign an IfcCurtainWall to two different levels within the spatial structure. It is primarily contained within the ground floor, and additionally referenced within the first and second floor.

EXPRESS specification:

ENTITY IfcRelReferencedInSpatialStructure
SUBTYPE OF ( | IfcRelConnects);
RelatedElements | : | SET [1:?] OF IfcProduct;
RelatingStructure | : | IfcSpatialStructureElement;
WHERE
WR31 | : | SIZEOF(QUERY(temp <* RelatedElements | 'IFCPRODUCTEXTENSION.IFCSPATIALSTRUCTUREELEMENT' IN TYPEOF(temp))) = 0;
END_ENTITY;

Attribute definitions:

RelatedElements | : | Set of products, which are referenced within this level of the spatial structure hierarchy. NOTE Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories.
RelatingStructure | : | Spatial structure element, within which the element is referenced. Any element can be contained within zero, one or many elements of the project spatial structure.

Formal Propositions:

WR31 | : | The relationship object shall not be used to include other spatial structure elements into a spatial structure element. The hierarchy of the spatial structure is defined using IfcRelAggregates.

Inheritance graph

ENTITY IfcRelReferencedInSpatialStructure;
ENTITY IfcRoot;
GlobalId | : | IfcGloballyUniqueId;
OwnerHistory | : | IfcOwnerHistory;
Name | : | OPTIONAL IfcLabel;
Description | : | OPTIONAL IfcText;
ENTITY IfcRelationship;
ENTITY IfcRelConnects;
ENTITY IfcRelReferencedInSpatialStructure;
RelatedElements | : | SET [1:?] OF IfcProduct;
RelatingStructure | : | IfcSpatialStructureElement;
END_ENTITY;