The Spatial Container concept defines a spatial element as being the spatial container for physical elements, or other elements being directly related to the spatial container, such as annotations or grids.
EXAMPLE A building story is a logical spatial container of building elements, distribution elements, or furnishing elements.
The Spatial Container concept is realized by using the IfcRelContainedInSpatialStructure objectified relationship between subtypes of IfcSpatialElement and the elements contained. The inverse relationship ContainsElements at the subtypes of IfcSpatialElement refers to the contained physical elements.
Figure 184 illustrates an instance diagram.
Figure 184 — Spatial Container |
<?xml version="1.0" encoding="utf-8"?>
<ConceptTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="61dd08ed-fd01-4955-9337-8afd284a0e6f" name="Spatial Container" applicableSchema="IFC4" applicableEntity="IfcSpatialElement">
<Rules>
<AttributeRule AttributeName="ContainsElements">
<EntityRules>
<EntityRule EntityName="IfcRelContainedInSpatialStructure">
<AttributeRules>
<AttributeRule RuleID="Type" AttributeName="RelatedElements">
<EntityRules>
<EntityRule EntityName="IfcProduct" />
</EntityRules>
</AttributeRule>
</AttributeRules>
</EntityRule>
</EntityRules>
</AttributeRule>
</Rules>
</ConceptTemplate>