IFC 4.3.2.20250327 (IFC4X3_ADD2) under development

5.4.3.52 IfcRelContainedInSpatialStructure

RV ⓘ
AbV ⓘ

5.4.3.52.1 Semantic definition

This objectified relationship, IfcRelContainedInSpatialStructure, is used to assign elements to a certain level of the spatial project structure. Any element can only be assigned once to a certain level of the spatial structure. The question, which level is relevant for which type of element, can only be answered within the context of a particular project and might vary within the various regions.

The containment relationship of an element within a spatial structure has to be a hierarchical relationship; an element can only be contained within a single spatial structure element. The reference relationship between an element and the spatial structure need not be hierarchical; that is, an element can reference many spatial structure elements.

Occurrences of the same element type can be assigned to different spatial structure elements depending on the context of the occurrence.

Figure 5.4.3.52.A shows the use of IfcRelContainedInSpatialStructure to assign a stair and two walls to two different levels within the spatial structure.

fig1
Figure 5.4.3.52.A — Relationship for spatial structure containment

5.4.3.52.2 Entity inheritance

5.4.3.52.3 Attributes

# Attribute Type Description
IfcRoot (4)
Click to show 4 hidden inherited attributes
IfcRelContainedInSpatialStructure (2)
5 RelatedElements SET [1:?] OF IfcProduct

Set of products, which are contained within this level of the spatial structure hierarchy.

6 RelatingStructure IfcSpatialElement

Spatial structure element, within which the element is contained. Any element can only be contained within one element of the project spatial structure.

Table 5.4.3.52.B

5.4.3.52.4 Formal propositions

Name Description
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.

SIZEOF(QUERY(temp <* RelatedElements | 'IFC4X3_DEV_738df036.IFCSPATIALSTRUCTUREELEMENT' IN TYPEOF(temp))) = 0
Table 5.4.3.52.C

5.4.3.52.5 Concept usage

Concept Usage Description
IfcRoot (2)
Click to show 2 hidden inherited concepts
Table 5.4.3.52.D

5.4.3.52.6 Formal representation

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

5.4.3.52.7 References

Edit on Github


Is this page difficult to understand? Let us know!

5.4.3.52.8 Changelog

5.4.3.52.8.1 IFC4