Any specialization of object can be related to multiple quantity set occurrences. A quantity set contains multiple quantity occurrences. The data type of quantity occurrence values are count, length, area, volume, weight, time, or a combination of quantities. Each quantity is defined by its name, value, and optionally a description and a formula.
The quantity set is expressed by instances of IfcElementQuantity, where the Name attribute determines the common designator of the quantity set. This specification contains a number of predefined quantity sets, a template definition is provided for each of them. The name of the template has to be used as the value of the Name attribute. The MethodOfMeasurement attribute specifies the method, by which the values of the individual quantities are calculated. For the quantity set templates included in this specification, the value of MethodOfMeasurement shall be "BaseQuantities".
Figure 196 illustrates an instance diagram.
Figure 196 — Quantity Sets |
<?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="6652398e-6579-4460-8cb4-26295acfacc7" name="Quantity Sets" version="1" applicableSchema="IFC4" applicableEntity="IfcObject">
<Rules>
<AttributeRule AttributeName="IsDefinedBy">
<EntityRules>
<EntityRule EntityName="IfcRelDefinesByProperties">
<AttributeRules>
<AttributeRule AttributeName="RelatingPropertyDefinition">
<EntityRules>
<EntityRule EntityName="IfcElementQuantity">
<AttributeRules>
<AttributeRule RuleID="QsetName" AttributeName="Name">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="Description">
<EntityRules>
<EntityRule EntityName="IfcText" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="MethodOfMeasurement">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule RuleID="Quantities" AttributeName="Quantities">
<EntityRules>
<EntityRule EntityName="IfcQuantityLength">
<References>
<Template ref="dd8678e1-e300-4f70-9d63-e539db4bd11c" />
</References>
</EntityRule>
<EntityRule EntityName="IfcQuantityArea">
<References>
<Template ref="65ac4747-6eff-437e-94e2-643fd4e3bf86" />
</References>
</EntityRule>
<EntityRule EntityName="IfcQuantityVolume">
<References>
<Template ref="6491a3b0-b7e9-412a-8226-bcd91c2b0b0e" />
</References>
</EntityRule>
<EntityRule EntityName="IfcQuantityWeight">
<References>
<Template ref="e1016e56-3c89-4f42-9679-07e1db3c0afb" />
</References>
</EntityRule>
<EntityRule EntityName="IfcQuantityCount">
<References>
<Template ref="8aaeff32-572c-4f6a-ac64-e2151663cbf1" />
</References>
</EntityRule>
<EntityRule EntityName="IfcQuantityTime">
<References>
<Template ref="43c4c050-04de-4b0f-9e43-708bd98201a8" />
</References>
</EntityRule>
</EntityRules>
</AttributeRule>
</AttributeRules>
</EntityRule>
</EntityRules>
</AttributeRule>
</AttributeRules>
</EntityRule>
</EntityRules>
</AttributeRule>
</Rules>
</ConceptTemplate>