Zuordnung zu Präsentations-Layer mit Stilvorgaben | |
Presentation Layer With Style | |
Assignation de calque avec style |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 |
---|---|---|---|---|
IfcPresentationLayerWithStyle | ||||
LayerStyles | X | X | MODIFIED | Type changed from IfcPresentationStyleSelect to IfcPresentationStyle. | IFC4 Addendum 1 |
IfcPresentationLayerWithStyle | ||||
LayerOn | MODIFIED | Type changed from LOGICAL to IfcLogical. | ||
LayerFrozen | MODIFIED | Type changed from LOGICAL to IfcLogical. | ||
LayerBlocked | MODIFIED | Type changed from LOGICAL to IfcLogical. |
An IfcPresentationLayerAssignmentWithStyle 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.
NOTE 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.
NOTE If a styled item is assigned to a layer using the IfcPresentationLayerAssignmentWithStyle, 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, IfcSymbolStyle), then it overrides the style provided by the IfcPresentationLayerAssignmentWithStyle.
NOTE The IfcPresentationLayerAssignmentWithStyle extends the presentation_layer_assignment entity as defined in ISO/IS 10303-46:1994, p. 36.
HISTORY New entity in IFC2x2.
IFC2x3 CHANGE The attributes have been modified without upward compatibility.
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
5 | LayerOn | IfcLogical | [1:1] | 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. | X |
6 | LayerFrozen | IfcLogical | [1:1] | 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. | X |
7 | LayerBlocked | IfcLogical | [1:1] | 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. | X |
8 | LayerStyles | IfcPresentationStyle | S[0:?] |
Assignment of presentation styles to the layer to provide a default style for representation items.
NOTE 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. | X |
Rule | 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.
IFC4 CHANGE New where rule. |
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
IfcPresentationLayerAssignment | |||||
1 | Name | IfcLabel | [1:1] | Name of the layer. | X |
2 | Description | IfcText | [0:1] | Additional description of the layer. | X |
3 | AssignedItems | IfcLayeredItem | S[1:?] | The set of layered items, which are assigned to this layer. | X |
4 | Identifier | IfcIdentifier | [0:1] | An (internal) identifier assigned to the layer. | X |
IfcPresentationLayerWithStyle | |||||
5 | LayerOn | IfcLogical | [1:1] | 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. | X |
6 | LayerFrozen | IfcLogical | [1:1] | 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. | X |
7 | LayerBlocked | IfcLogical | [1:1] | 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. | X |
8 | LayerStyles | IfcPresentationStyle | S[0:?] |
Assignment of presentation styles to the layer to provide a default style for representation items.
NOTE 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. | X |
<xs:element name="IfcPresentationLayerWithStyle" type="ifc:IfcPresentationLayerWithStyle" substitutionGroup="ifc:IfcPresentationLayerAssignment" nillable="true"/>
<xs:complexType name="IfcPresentationLayerWithStyle">
<xs:complexContent>
<xs:extension base="ifc:IfcPresentationLayerAssignment">
<xs:sequence>
<xs:element name="LayerStyles">
<xs:complexType>
<xs:sequence>
<xs:element ref="ifc:IfcPresentationStyle" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="ifc:itemType" fixed="ifc:IfcPresentationStyle"/>
<xs:attribute ref="ifc:cType" fixed="set"/>
<xs:attribute ref="ifc:arraySize" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="LayerOn" type="ifc:IfcLogical" use="optional"/>
<xs:attribute name="LayerFrozen" type="ifc:IfcLogical" use="optional"/>
<xs:attribute name="LayerBlocked" type="ifc:IfcLogical" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcPresentationLayerWithStyle
SUBTYPE OF (IfcPresentationLayerAssignment);
LayerOn : IfcLogical;
LayerFrozen : IfcLogical;
LayerBlocked : IfcLogical;
LayerStyles : SET OF IfcPresentationStyle;
WHERE
ApplicableOnlyToItems : SIZEOF(QUERY(temp <* AssignedItems | (
SIZEOF(TYPEOF(temp) * [
'IFCGEOMETRYRESOURCE.IFCGEOMETRICREPRESENTATIONITEM',
'IFCGEOMETRYRESOURCE.IFCMAPPEDITEM']) = 1)
)) = SIZEOF(AssignedItems);
END_ENTITY;