5.1.3.27 IfcRelAssignsToProduct
5.1.3.27.1 Semantic definition
The objectified relationship IfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed:
- 'Context' : Assignment of a context specific representation, such as of structural members to a different context representation (with potentially different decomposition breakdown) such as of building elements for a specific context specific representation.
 - 'View' : Assignment of a product (via RelatingProduct) that is decomposed according to a discipline view, to another product (via RelatedObjects) that is decomposed according to a different discipline view. An example is the assignment of the architectural slab to a different decomposition of the pre manufactured sections of a slab (under a precast concrete discipline view).
 
5.1.3.27.2 Entity inheritance
5.1.3.27.3 Attributes
| # | Attribute | Type | Description | 
|---|---|---|---|
| IfcRoot (4) | |||
| 1 | GlobalId | IfcGloballyUniqueId | 
 Assignment of a globally unique identifier within the entire software world.  | 
| 2 | OwnerHistory | OPTIONAL IfcOwnerHistory | 
 Assignment of the information about the current ownership of that object, including owning actor, application, local identification and information captured about the recent changes of the object,  | 
| 3 | Name | OPTIONAL IfcLabel | 
 Optional name for use by the participating software systems or users. For some subtypes of IfcRoot the insertion of the Name attribute may be required. This would be enforced by a where rule.  | 
| 4 | Description | OPTIONAL IfcText | 
 Optional description, provided for exchanging informative comments.  | 
| IfcRelAssigns (2) | |||
| 5 | RelatedObjects | SET [1:?] OF IfcObjectDefinition | 
 Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns.  | 
| 6 | RelatedObjectsType | OPTIONAL IfcStrippedOptional | 
 Particular type of the assignment relationship. It can constrain the applicable object types, used within the role of RelatedObjects.  | 
| Click to show 6 hidden inherited attributes Click to hide 6 inherited attributes | |||
| IfcRelAssignsToProduct (1) | |||
| 7 | RelatingProduct | IfcProductSelect | 
 Reference to the product or product type to which the objects are assigned to.  | 
5.1.3.27.4 Formal propositions
| Name | Description | 
|---|---|
| NoSelfReference | 
 The instance to which the relation points, as provided by RelatingProduct shall not be contained in the set of RelatedObjects.  | 
 | 
|
5.1.3.27.5 Concept usage
| Concept | Usage | Description | |
|---|---|---|---|
| IfcRoot (2) | |||
| Revision Control | General | 
 Ownership, history, and merge state is captured using IfcOwnerHistory.  | 
|
| Software Identity | General | 
 IfcRoot assigns the globally unique ID. In addition it may provide for a name and a description about the concept.  | 
|
| Click to show 2 hidden inherited concepts Click to hide 2 inherited concepts | |||
5.1.3.27.6 Examples
5.1.3.27.7 Formal representation
ENTITY IfcRelAssignsToProduct
 SUBTYPE OF (IfcRelAssigns);
	RelatingProduct : IfcProductSelect;
 WHERE
	NoSelfReference : SIZEOF(QUERY(Temp <* SELF\IfcRelAssigns.RelatedObjects | RelatingProduct :=: Temp)) = 0;
END_ENTITY;
