8.14.3.10 IfcPresentationLayerWithStyle
8.14.3.10.1 Semantic definition
An IfcPresentationLayerWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information.
The visibility control allows to define a layer to be either 'on' or 'off', and/or 'frozen' or 'not frozen'. The access control allows to block graphical entities from manipulations by setting a layer to be either 'blocked' or 'not blocked'. Common style information can be given to the layer.
Style information assigned to layers is often restricted to 'layer colour', 'curve font', and/or 'curve width'. These styles are assigned by using the IfcCurveStyle within the LayerStyles. If a styled item is assigned to a layer using the IfcPresentationLayerWithStyle, it inherits the style information from the layer. In this case, it should omit its own style information. If the styled item has style information assigned (such as by IfcCurveStyle, IfcFillAreaStyle, IfcTextStyle, IfcSurfaceStyle), then it overrides the style provided by the IfcPresentationLayerWithStyle. The IfcPresentationLayerWithStyle extends the presentation_layer_assignment entity as defined in ISO/IS 10303-46:1994, p. 36. New entity in IFC2x2. The attributes have been modified without upward compatibility.8.14.3.10.2 Entity inheritance
8.14.3.10.3 Attributes
# | Attribute | Type | Description |
---|---|---|---|
IfcPresentationLayerAssignment (4) | |||
1 | Name | IfcLabel |
Name of the layer. |
2 | Description | OPTIONAL IfcText |
Additional description of the layer. |
3 | AssignedItems | SET [1:?] OF IfcLayeredItem |
The set of layered items, which are assigned to this layer. |
4 | Identifier | OPTIONAL IfcIdentifier |
An (internal) identifier assigned to the layer. |
Click to show 4 hidden inherited attributes Click to hide 4 inherited attributes | |||
IfcPresentationLayerWithStyle (4) | |||
5 | LayerOn | IfcLogical |
A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. |
6 | LayerFrozen | IfcLogical |
A logical setting, TRUE indicates that the layer is set to 'Frozen', FALSE that the layer is set to 'Not frozen', UNKNOWN that such information is not available. |
7 | LayerBlocked | IfcLogical |
A logical setting, TRUE indicates that the layer is set to 'Blocked', FALSE that the layer is set to 'Not blocked', UNKNOWN that such information is not available. |
8 | LayerStyles | SET [0:?] OF IfcPresentationStyle |
Assignment of presentation styles to the layer to provide a default style for representation items. In most cases the assignment of styles to a layer is restricted to an IfcCurveStyle representing the layer curve colour, layer curve thickness, and layer curve type. The data type has been changed from IfcPresentationStyleSelect (now deprecated) to IfcPresentationStyle. |
8.14.3.10.4 Formal propositions
Name | Description |
---|---|
ApplicableOnlyToItems |
The IfcPresentationLayerWithStyle shall only be used to assign subtypes of IfcGeometricRepresentationItem's and to IfcMappedItem. There shall be no instance of subtypes of IfcRepresentation in the set of AssignedItem's. New where rule. |
|
8.14.3.10.5 Formal representation
ENTITY IfcPresentationLayerWithStyle
SUBTYPE OF (IfcPresentationLayerAssignment);
LayerOn : IfcLogical;
LayerFrozen : IfcLogical;
LayerBlocked : IfcLogical;
LayerStyles : SET [0:?] OF IfcPresentationStyle;
WHERE
ApplicableOnlyToItems : SIZEOF(QUERY(temp <* AssignedItems | (SIZEOF(TYPEOF(temp) * ['IFC4X3_DEV_bc7847cd.IfcGeometricRepresentationItem','IFC4X3_DEV_bc7847cd.IfcMappedItem']) >= 1))) = SIZEOF(AssignedItems);
END_ENTITY;