4.5.4 Nesting

A nesting indicates an external ordered part composition relationship between the hosting structure, referred to as the "host", and the attached components, referred to as the "hosted elements". The concept of nesting is used in various ways. Examples are:

Nesting is a bi-directional relationship, the relationship from the hosting structure to its attached components is called Nesting, and the relationship from the components to their containing structure is called Hosting.

Figure 159 illustrates an instance diagram.

NestingIfcObjectDefinitionIfcRelNests

Figure 159 — Nesting

mvdXML Specification
<?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="d1e6b86e-7658-443c-b708-86b7dd8b12f4" name="Nesting" applicableSchema="IFC4" applicableEntity="IfcObjectDefinition">
  <Rules>
    <AttributeRule AttributeName="IsNestedBy">
      <EntityRules>
        <EntityRule EntityName="IfcRelNests" />
      </EntityRules>
    </AttributeRule>
  </Rules>
  <SubTemplates>
    <ConceptTemplate uuid="334e7f67-fd69-465f-b314-a2010a997465" name="Alignment Layout" applicableSchema="IFC4" applicableEntity="IfcAlignment">
      <Rules>
        <AttributeRule AttributeName="IsNestedBy">
          <EntityRules>
            <EntityRule EntityName="IfcRelNests">
              <AttributeRules>
                <AttributeRule AttributeName="RelatedObjects">
                  <EntityRules>
                    <EntityRule EntityName="IfcAlignmentHorizontal">
                      <AttributeRules>
                        <AttributeRule AttributeName="IsNestedBy">
                          <EntityRules>
                            <EntityRule EntityName="IfcRelNests">
                              <AttributeRules>
                                <AttributeRule AttributeName="RelatedObjects">
                                  <EntityRules>
                                    <EntityRule EntityName="IfcAlignmentSegment">
                                      <AttributeRules>
                                        <AttributeRule AttributeName="DesignParameters">
                                          <EntityRules>
                                            <EntityRule EntityName="IfcAlignmentHorizontalSegment" />
                                          </EntityRules>
                                        </AttributeRule>
                                      </AttributeRules>
                                    </EntityRule>
                                  </EntityRules>
                                </AttributeRule>
                              </AttributeRules>
                            </EntityRule>
                          </EntityRules>
                        </AttributeRule>
                      </AttributeRules>
                    </EntityRule>
                    <EntityRule EntityName="IfcAlignmentVertical">
                      <AttributeRules>
                        <AttributeRule AttributeName="IsNestedBy">
                          <EntityRules>
                            <EntityRule EntityName="IfcRelNests">
                              <AttributeRules>
                                <AttributeRule AttributeName="RelatedObjects">
                                  <EntityRules>
                                    <EntityRule EntityName="IfcAlignmentSegment">
                                      <AttributeRules>
                                        <AttributeRule AttributeName="DesignParameters">
                                          <EntityRules>
                                            <EntityRule EntityName="IfcAlignmentVerticalSegment" />
                                          </EntityRules>
                                        </AttributeRule>
                                      </AttributeRules>
                                    </EntityRule>
                                  </EntityRules>
                                </AttributeRule>
                              </AttributeRules>
                            </EntityRule>
                          </EntityRules>
                        </AttributeRule>
                      </AttributeRules>
                    </EntityRule>
                    <EntityRule EntityName="IfcAlignmentCant">
                      <AttributeRules>
                        <AttributeRule AttributeName="IsNestedBy">
                          <EntityRules>
                            <EntityRule EntityName="IfcRelNests">
                              <AttributeRules>
                                <AttributeRule AttributeName="RelatedObjects">
                                  <EntityRules>
                                    <EntityRule EntityName="IfcAlignmentSegment">
                                      <AttributeRules>
                                        <AttributeRule AttributeName="DesignParameters">
                                          <EntityRules>
                                            <EntityRule EntityName="IfcAlignmentCantSegment" />
                                          </EntityRules>
                                        </AttributeRule>
                                      </AttributeRules>
                                    </EntityRule>
                                  </EntityRules>
                                </AttributeRule>
                              </AttributeRules>
                            </EntityRule>
                          </EntityRules>
                        </AttributeRule>
                      </AttributeRules>
                    </EntityRule>
                  </EntityRules>
                </AttributeRule>
              </AttributeRules>
            </EntityRule>
          </EntityRules>
        </AttributeRule>
      </Rules>
    </ConceptTemplate>
    <ConceptTemplate uuid="bb43034c-7c71-5187-b8ee-c5d0c9266c6f" name="Alignment Layouts" applicableSchema="IFC4" applicableEntity="IfcAlignment">
      <Rules>
        <AttributeRule AttributeName="IsNestedBy">
          <EntityRules>
            <EntityRule EntityName="IfcRelNests">
              <AttributeRules>
                <AttributeRule AttributeName="RelatedObjects">
                  <EntityRules>
                    <EntityRule EntityName="IfcAlignmentHorizontal" />
                    <EntityRule EntityName="IfcAlignmentVertical" />
                    <EntityRule EntityName="IfcAlignmentCant" />
                  </EntityRules>
                </AttributeRule>
              </AttributeRules>
            </EntityRule>
          </EntityRules>
        </AttributeRule>
      </Rules>
      <SubTemplates>
        <ConceptTemplate uuid="9f2220fe-98ec-5afd-82ff-3cd0b0bbcc02" name="Alignment Layout - Horizontal, Vertical and Cant" applicableSchema="IFC4" applicableEntity="IfcAlignment">
          <Rules>
            <AttributeRule AttributeName="IsNestedBy">
              <EntityRules>
                <EntityRule EntityName="IfcRelNests">
                  <AttributeRules>
                    <AttributeRule AttributeName="RelatedObjects">
                      <EntityRules>
                        <EntityRule EntityName="IfcAlignmentHorizontal">
                          <AttributeRules>
                            <AttributeRule AttributeName="IsNestedBy">
                              <EntityRules>
                                <EntityRule EntityName="IfcRelNests">
                                  <AttributeRules>
                                    <AttributeRule AttributeName="RelatedObjects">
                                      <EntityRules>
                                        <EntityRule EntityName="IfcAlignmentSegment">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="DesignParameters">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcAlignmentHorizontalSegment" />
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                      </EntityRules>
                                    </AttributeRule>
                                  </AttributeRules>
                                </EntityRule>
                              </EntityRules>
                            </AttributeRule>
                          </AttributeRules>
                        </EntityRule>
                        <EntityRule EntityName="IfcAlignmentVertical">
                          <AttributeRules>
                            <AttributeRule AttributeName="IsNestedBy">
                              <EntityRules>
                                <EntityRule EntityName="IfcRelNests">
                                  <AttributeRules>
                                    <AttributeRule AttributeName="RelatedObjects">
                                      <EntityRules>
                                        <EntityRule EntityName="IfcAlignmentSegment">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="DesignParameters">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcAlignmentVerticalSegment" />
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                      </EntityRules>
                                    </AttributeRule>
                                  </AttributeRules>
                                </EntityRule>
                              </EntityRules>
                            </AttributeRule>
                          </AttributeRules>
                        </EntityRule>
                        <EntityRule EntityName="IfcAlignmentCant">
                          <AttributeRules>
                            <AttributeRule AttributeName="IsNestedBy">
                              <EntityRules>
                                <EntityRule EntityName="IfcRelNests">
                                  <AttributeRules>
                                    <AttributeRule AttributeName="RelatedObjects">
                                      <EntityRules>
                                        <EntityRule EntityName="IfcAlignmentSegment">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="DesignParameters">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcAlignmentCantSegment" />
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                      </EntityRules>
                                    </AttributeRule>
                                  </AttributeRules>
                                </EntityRule>
                              </EntityRules>
                            </AttributeRule>
                          </AttributeRules>
                        </EntityRule>
                      </EntityRules>
                    </AttributeRule>
                  </AttributeRules>
                </EntityRule>
              </EntityRules>
            </AttributeRule>
          </Rules>
        </ConceptTemplate>
        <ConceptTemplate uuid="31c80d61-aa70-5fdc-a1e4-eb94e37885fa" name="Alignment Layout - Reusing Horizontal Layout" applicableSchema="IFC4" applicableEntity="IfcAlignment">
          <Rules>
            <AttributeRule AttributeName="IsNestedBy">
              <EntityRules>
                <EntityRule EntityName="IfcRelNests">
                  <AttributeRules>
                    <AttributeRule AttributeName="RelatedObjects">
                      <EntityRules>
                        <EntityRule EntityName="IfcAlignmentHorizontal">
                          <AttributeRules>
                            <AttributeRule AttributeName="IsNestedBy">
                              <EntityRules>
                                <EntityRule EntityName="IfcRelNests">
                                  <AttributeRules>
                                    <AttributeRule AttributeName="RelatedObjects">
                                      <EntityRules>
                                        <EntityRule EntityName="IfcAlignmentSegment">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="DesignParameters">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcAlignmentHorizontalSegment" />
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                      </EntityRules>
                                    </AttributeRule>
                                  </AttributeRules>
                                </EntityRule>
                              </EntityRules>
                            </AttributeRule>
                          </AttributeRules>
                        </EntityRule>
                      </EntityRules>
                    </AttributeRule>
                  </AttributeRules>
                </EntityRule>
              </EntityRules>
            </AttributeRule>
            <AttributeRule AttributeName="IsDecomposedBy">
              <EntityRules>
                <EntityRule EntityName="IfcRelAggregates">
                  <AttributeRules>
                    <AttributeRule AttributeName="RelatedObjects">
                      <EntityRules>
                        <EntityRule EntityName="IfcAlignment">
                          <AttributeRules>
                            <AttributeRule AttributeName="IsNestedBy">
                              <EntityRules>
                                <EntityRule EntityName="IfcRelNests">
                                  <AttributeRules>
                                    <AttributeRule AttributeName="RelatedObjects">
                                      <EntityRules>
                                        <EntityRule EntityName="IfcAlignmentVertical">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="IsNestedBy">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcRelNests">
                                                  <AttributeRules>
                                                    <AttributeRule AttributeName="RelatedObjects">
                                                      <EntityRules>
                                                        <EntityRule EntityName="IfcAlignmentSegment">
                                                          <AttributeRules>
                                                            <AttributeRule AttributeName="DesignParameters">
                                                              <EntityRules>
                                                                <EntityRule EntityName="IfcAlignmentVerticalSegment" />
                                                              </EntityRules>
                                                            </AttributeRule>
                                                          </AttributeRules>
                                                        </EntityRule>
                                                      </EntityRules>
                                                    </AttributeRule>
                                                  </AttributeRules>
                                                </EntityRule>
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                      </EntityRules>
                                    </AttributeRule>
                                  </AttributeRules>
                                </EntityRule>
                              </EntityRules>
                            </AttributeRule>
                          </AttributeRules>
                        </EntityRule>
                        <EntityRule EntityName="IfcAlignment">
                          <AttributeRules>
                            <AttributeRule AttributeName="IsNestedBy">
                              <EntityRules>
                                <EntityRule EntityName="IfcRelNests">
                                  <AttributeRules>
                                    <AttributeRule AttributeName="RelatedObjects">
                                      <EntityRules>
                                        <EntityRule EntityName="IfcAlignmentVertical">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="IsNestedBy">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcRelNests">
                                                  <AttributeRules>
                                                    <AttributeRule AttributeName="RelatedObjects">
                                                      <EntityRules>
                                                        <EntityRule EntityName="IfcAlignmentSegment">
                                                          <AttributeRules>
                                                            <AttributeRule AttributeName="DesignParameters">
                                                              <EntityRules>
                                                                <EntityRule EntityName="IfcAlignmentVerticalSegment" />
                                                              </EntityRules>
                                                            </AttributeRule>
                                                          </AttributeRules>
                                                        </EntityRule>
                                                      </EntityRules>
                                                    </AttributeRule>
                                                  </AttributeRules>
                                                </EntityRule>
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                        <EntityRule EntityName="IfcAlignmentCant">
                                          <AttributeRules>
                                            <AttributeRule AttributeName="IsNestedBy">
                                              <EntityRules>
                                                <EntityRule EntityName="IfcRelNests">
                                                  <AttributeRules>
                                                    <AttributeRule AttributeName="RelatedObjects">
                                                      <EntityRules>
                                                        <EntityRule EntityName="IfcAlignmentSegment">
                                                          <AttributeRules>
                                                            <AttributeRule AttributeName="DesignParameters">
                                                              <EntityRules>
                                                                <EntityRule EntityName="IfcAlignmentCantSegment" />
                                                              </EntityRules>
                                                            </AttributeRule>
                                                          </AttributeRules>
                                                        </EntityRule>
                                                      </EntityRules>
                                                    </AttributeRule>
                                                  </AttributeRules>
                                                </EntityRule>
                                              </EntityRules>
                                            </AttributeRule>
                                          </AttributeRules>
                                        </EntityRule>
                                      </EntityRules>
                                    </AttributeRule>
                                  </AttributeRules>
                                </EntityRule>
                              </EntityRules>
                            </AttributeRule>
                          </AttributeRules>
                        </EntityRule>
                      </EntityRules>
                    </AttributeRule>
                  </AttributeRules>
                </EntityRule>
              </EntityRules>
            </AttributeRule>
          </Rules>
        </ConceptTemplate>
      </SubTemplates>
    </ConceptTemplate>
    <ConceptTemplate uuid="fbf23658-a429-4480-9b41-5e805944781b" name="Element Nesting" applicableSchema="IFC4" applicableEntity="IfcElement">
      <Rules>
        <AttributeRule AttributeName="IsNestedBy">
          <EntityRules>
            <EntityRule EntityName="IfcRelNests">
              <AttributeRules>
                <AttributeRule RuleID="Type" AttributeName="RelatedObjects">
                  <EntityRules>
                    <EntityRule EntityName="IfcElement">
                      <AttributeRules>
                        <AttributeRule AttributeName="ObjectPlacement">
                          <EntityRules>
                            <EntityRule EntityName="IfcLocalPlacement" />
                          </EntityRules>
                        </AttributeRule>
                        <AttributeRule RuleID="PredefinedType" AttributeName="PredefinedType" />
                      </AttributeRules>
                    </EntityRule>
                  </EntityRules>
                </AttributeRule>
              </AttributeRules>
            </EntityRule>
          </EntityRules>
        </AttributeRule>
      </Rules>
    </ConceptTemplate>
    <ConceptTemplate uuid="38ca8788-5e47-411c-8294-d56f9e9a5691" name="Object Nesting" applicableSchema="IFC4" applicableEntity="IfcObjectDefinition">
      <Rules>
        <AttributeRule AttributeName="IsNestedBy">
          <EntityRules>
            <EntityRule EntityName="IfcRelNests">
              <AttributeRules>
                <AttributeRule RuleID="Type" AttributeName="RelatedObjects">
                  <EntityRules>
                    <EntityRule EntityName="IfcObject" />
                  </EntityRules>
                </AttributeRule>
              </AttributeRules>
            </EntityRule>
          </EntityRules>
        </AttributeRule>
      </Rules>
    </ConceptTemplate>
    <ConceptTemplate uuid="bafc93b7-d0e2-42d8-84cf-5da20ee1480a" name="Port Nesting" applicableSchema="IFC4" applicableEntity="IfcDistributionElement">
      <Rules>
        <AttributeRule RuleID="PredefinedType" AttributeName="PredefinedType" />
        <AttributeRule AttributeName="IsNestedBy">
          <EntityRules>
            <EntityRule EntityName="IfcRelNests">
              <AttributeRules>
                <AttributeRule AttributeName="RelatedObjects">
                  <EntityRules>
                    <EntityRule EntityName="IfcDistributionPort">
                      <AttributeRules>
                        <AttributeRule RuleID="PortName" AttributeName="Name">
                          <EntityRules>
                            <EntityRule EntityName="IfcLabel" />
                          </EntityRules>
                        </AttributeRule>
                        <AttributeRule RuleID="Flow" AttributeName="FlowDirection">
                          <EntityRules>
                            <EntityRule EntityName="IfcFlowDirectionEnum" />
                          </EntityRules>
                        </AttributeRule>
                        <AttributeRule RuleID="SystemType" AttributeName="SystemType">
                          <EntityRules>
                            <EntityRule EntityName="IfcDistributionSystemEnum" />
                          </EntityRules>
                        </AttributeRule>
                        <AttributeRule AttributeName="ObjectPlacement">
                          <EntityRules>
                            <EntityRule EntityName="IfcLocalPlacement">
                              <AttributeRules>
                                <AttributeRule AttributeName="RelativePlacement">
                                  <EntityRules>
                                    <EntityRule EntityName="IfcAxis2Placement3D">
                                      <AttributeRules>
                                        <AttributeRule AttributeName="Location">
                                          <EntityRules>
                                            <EntityRule EntityName="IfcCartesianPoint" />
                                          </EntityRules>
                                        </AttributeRule>
                                        <AttributeRule AttributeName="Axis">
                                          <EntityRules>
                                            <EntityRule EntityName="IfcDirection" />
                                          </EntityRules>
                                        </AttributeRule>
                                        <AttributeRule AttributeName="RefDirection">
                                          <EntityRules>
                                            <EntityRule EntityName="IfcDirection" />
                                          </EntityRules>
                                        </AttributeRule>
                                      </AttributeRules>
                                    </EntityRule>
                                  </EntityRules>
                                </AttributeRule>
                              </AttributeRules>
                            </EntityRule>
                          </EntityRules>
                        </AttributeRule>
                        <AttributeRule AttributeName="IsDeclaredBy" />
                        <AttributeRule AttributeName="PredefinedType">
                          <EntityRules>
                            <EntityRule EntityName="IfcDistributionPortTypeEnum" />
                          </EntityRules>
                        </AttributeRule>
                      </AttributeRules>
                    </EntityRule>
                  </EntityRules>
                </AttributeRule>
              </AttributeRules>
            </EntityRule>
          </EntityRules>
        </AttributeRule>
      </Rules>
    </ConceptTemplate>
    <ConceptTemplate uuid="d56d815c-26a9-5877-992f-be25876deb54" name="Survey Elements Nesting" applicableSchema="IFC4" applicableEntity="IfcAnnotation">
      <Rules>
        <AttributeRule AttributeName="IsNestedBy">
          <EntityRules>
            <EntityRule EntityName="IfcRelNests">
              <AttributeRules>
                <AttributeRule AttributeName="RelatedObjects">
                  <EntityRules>
                    <EntityRule EntityName="IfcAnnotation">
                      <AttributeRules>
                        <AttributeRule AttributeName="PredefinedType">
                          <EntityRules>
                            <EntityRule EntityName="IfcAnnotationTypeEnum" />
                          </EntityRules>
                        </AttributeRule>
                      </AttributeRules>
                    </EntityRule>
                  </EntityRules>
                </AttributeRule>
              </AttributeRules>
            </EntityRule>
          </EntityRules>
        </AttributeRule>
        <AttributeRule AttributeName="PredefinedType">
          <EntityRules>
            <EntityRule EntityName="IfcAnnotationTypeEnum" />
          </EntityRules>
        </AttributeRule>
      </Rules>
    </ConceptTemplate>
  </SubTemplates>
</ConceptTemplate>

Link to this page  Link to this page