Class Ifc4::IfcPresentationLayerAssignment

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Ifc4::IfcPresentationLayerAssignment : public IfcUtil::IfcBaseEntity

The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term “CAD Layer” and is used mainly for grouping and visibility control.

NOTE The use of presentation layer shall be restricted to simple grouping and displaying purposes.

Visibility and access control and layer style assignment (colour, line style, line width) is handled by the subtype IfcPresentationLayerAssignmentWithStyle.

NOTE Corresponding ISO 10303 name: presentation layer assignment. Please refer to ISO/IS 10303-46:1994, p. 36 for the final definition of the formal standard.

HISTORY New entity in IFC2x2.

Attribute use definition

Figure 305 illustrates assignment of items by shape representation or representation item. The set of AssignedItems can either include a whole shape representation, or individual geometric representation items. If both, the IfcShapeRepresentation has a layer assignment, and an individual geometric representation item in the set of IfcShapeRepresentation.Items, then the layer assignment of the IfcGeometricRepresentationItem overides the layer assignment of the IfcShapeRepresentation.

Figure 305 — Presentation layer assignment

Subclassed by Ifc4::IfcPresentationLayerWithStyle

Public Functions

std::string Name() const

Name of the layer.

void setName(std::string v)
bool hasDescription() const

Whether the optional attribute Description is defined for this IfcPresentationLayerAssignment.

std::string Description() const

Additional description of the layer.

void setDescription(std::string v)
IfcEntityList::ptr AssignedItems() const

The set of layered items, which are assigned to this layer.

void setAssignedItems(IfcEntityList::ptr v)
bool hasIdentifier() const

Whether the optional attribute Identifier is defined for this IfcPresentationLayerAssignment.

std::string Identifier() const

An (internal) identifier assigned to the layer.

void setIdentifier(std::string v)
const IfcParse::entity &declaration() const
IfcPresentationLayerAssignment(IfcEntityInstanceData *e)
IfcPresentationLayerAssignment(std::string v1_Name, boost::optional<std::string> v2_Description, IfcEntityList::ptr v3_AssignedItems, boost::optional<std::string> v4_Identifier)

Public Static Functions

const IfcParse::entity &Class()