Metrik | |
Metric | |
Métrique |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 |
---|---|---|---|---|
IfcMetric | ||||
CreationTime | X | X | MODIFIED | Type changed from IfcDateTimeSelect to IfcDateTime. |
ReferencePath | ADDED | IFC4 Addendum 1 | ||
IfcMetric | ||||
DataValue | MODIFIED | Instantiation changed to OPTIONAL. | ||
PropertiesForConstraint | ADDED | |||
ConstrainedResources | DELETED | |||
ConstrainedObjects | DELETED |
An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives.
IfcMetric is a subtype of IfcConstraint and may be associated with any subtype of IfcRoot through the IfcRelAssociatesConstraint relationship in the IfcControlExtension schema, or may be associated with IfcProperty by IfcResourceConstraintRelationship.
The aim of IfcMetric is to capture the quantitative aspects of a constraint.
IfcMetric用于捕获可应用于目标的定量结果度量。 IfcMetric是IfcConstraint的一个子类型,并且可以通过IFCCONTRORM扩展模式中的IfCurLeCaseTeS约束关系与IfcRoot的任何子类型相关联,或者可以通过IFCRealCysReStReTyTror关系与IFCFrand关联。 IfcMetric的目的是捕获约束的定量方面。
HISTORY New entity in IFC2.0.
IFC4 CHANGE ReferencePath attribute added for indicating the value to be constrained along a path of attribute references.
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
8 | Benchmark | IfcBenchmarkEnum | [1:1] | Enumeration that identifies the type of benchmark data. | X |
9 | ValueSource | IfcLabel | [0:1] | Reference source for data values. If DataValue refers to an IfcTable, this attribute identifies the relevent column identified by IfcTableColumn.Identifier. | X |
10 | DataValue | IfcMetricValueSelect | [0:1] | The value to be compared on associated objects. A null value indicates comparison to null. | X |
11 | ReferencePath | IfcReference | [0:1] | Optional path to an attribute to be constrained on associated objects. If provided, the metric may be validated by resolving the path to the current value on associated object(s), and comparing such value with DataValue according to the Benchmark. | X |
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
IfcConstraint | |||||
1 | Name | IfcLabel | [1:1] | A human-readable name to be used for the constraint. | X |
2 | Description | IfcText | [0:1] | A human-readable description that may apply additional information about a constraint. | X |
3 | ConstraintGrade | IfcConstraintEnum | [1:1] | Enumeration that qualifies the type of constraint. | X |
4 | ConstraintSource | IfcLabel | [0:1] | Any source material, such as a code or standard, from which the constraint originated. | X |
5 | CreatingActor | IfcActorSelect | [0:1] | Person and/or organization that has created the constraint. | X |
6 | CreationTime | IfcDateTime | [0:1] | Time when information specifying the constraint instance was created. | X |
7 | UserDefinedGrade | IfcLabel | [0:1] | Allows for specification of user defined grade of the constraint beyond the enumeration values (hard, soft, advisory) provided by ConstraintGrade attribute of type IfcConstraintEnum. When a value is provided for attribute UserDefinedGrade in parallel the attribute ConstraintGrade shall have enumeration value USERDEFINED. | X |
HasExternalReferences | IfcExternalReferenceRelationship @RelatedResourceObjects | S[0:?] | Reference to an external references, e.g. library, classification, or document information, that are associated to the constraint. | X | |
PropertiesForConstraint | IfcResourceConstraintRelationship @RelatingConstraint | S[0:?] | Reference to the properties to which the constraint is applied. | X | |
IfcMetric | |||||
8 | Benchmark | IfcBenchmarkEnum | [1:1] | Enumeration that identifies the type of benchmark data. | X |
9 | ValueSource | IfcLabel | [0:1] | Reference source for data values. If DataValue refers to an IfcTable, this attribute identifies the relevent column identified by IfcTableColumn.Identifier. | X |
10 | DataValue | IfcMetricValueSelect | [0:1] | The value to be compared on associated objects. A null value indicates comparison to null. | X |
11 | ReferencePath | IfcReference | [0:1] | Optional path to an attribute to be constrained on associated objects. If provided, the metric may be validated by resolving the path to the current value on associated object(s), and comparing such value with DataValue according to the Benchmark. | X |
<xs:element name="IfcMetric" type="ifc:IfcMetric" substitutionGroup="ifc:IfcConstraint" nillable="true"/>
<xs:complexType name="IfcMetric">
<xs:complexContent>
<xs:extension base="ifc:IfcConstraint">
<xs:sequence>
<xs:element name="DataValue" nillable="true" minOccurs="0">
<xs:complexType>
<xs:group ref="ifc:IfcMetricValueSelect"/>
</xs:complexType>
</xs:element>
<xs:element name="ReferencePath" type="ifc:IfcReference" nillable="true" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="Benchmark" type="ifc:IfcBenchmarkEnum" use="optional"/>
<xs:attribute name="ValueSource" type="ifc:IfcLabel" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcMetric
SUBTYPE OF (IfcConstraint);
Benchmark : IfcBenchmarkEnum;
ValueSource : OPTIONAL IfcLabel;
DataValue : OPTIONAL IfcMetricValueSelect;
ReferencePath : OPTIONAL IfcReference;
END_ENTITY;