4.5.2 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 37 illustrates an instance diagram.

NestingIfcObjectDefinitionIfcRelNests

Figure 37 — Nesting

mvdXML Specification
<?xml version="1.0"?>
<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" status="sample" applicableSchema="IFC4" applicableEntity="IfcObjectDefinition">
  <Rules>
    <AttributeRule AttributeName="IsNestedBy">
      <EntityRules>
        <EntityRule EntityName="IfcRelNests" />
      </EntityRules>
    </AttributeRule>
  </Rules>
  <SubTemplates>
    <ConceptTemplate uuid="38ca8788-5e47-411c-8294-d56f9e9a5691" name="Object Nesting" status="sample" 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="fbf23658-a429-4480-9b41-5e805944781b" name="Element Nesting" status="sample" 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="bafc93b7-d0e2-42d8-84cf-5da20ee1480a" name="Port Nesting" status="sample" 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>
  </SubTemplates>
</ConceptTemplate>

Link to this page  Link to this page