Class Ifc4::IfcRelAssignsToProduct

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4::IfcRelAssignsToProduct : public Ifc4::IfcRelAssigns

The objectified relationshipIfcRelAssignsToProduct 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 elementsfor a specificcontext 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).

HISTORY New Entity in IFC Release 2x

IFC2x3 CHANGE The reference of a product within a spatial structure is now handled by a new relationship object IfcRelReferencedInSpatialStructure. The IfcRelAssignsToProduct shall not be used to represent this relation from IFC2x3 onwards.

Public Functions

::Ifc4::IfcProductSelect *RelatingProduct() const

Reference to the product or product type to which the objects are assigned to.

IFC2x4 CHANGE Datatype expanded to include IfcProduct and IfcTypeProduct.

void setRelatingProduct(::Ifc4::IfcProductSelect *v)
const IfcParse::entity &declaration() const
IfcRelAssignsToProduct(IfcEntityInstanceData *e)
IfcRelAssignsToProduct(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, IfcTemplatedEntityList<::Ifc4::IfcObjectDefinition>::ptr v5_RelatedObjects, boost::optional<::Ifc4::IfcObjectTypeEnum::Value> v6_RelatedObjectsType, ::Ifc4::IfcProductSelect *v7_RelatingProduct)

Public Static Functions

const IfcParse::entity &Class()