Element mit Stilinformationen | |
Styled Item |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 4.0.0.0 |
---|---|---|---|---|
IfcStyledItem | ||||
Styles | MODIFIED | Type changed from IfcPresentationStyleAssignment to IfcStyleAssignmentSelect. | IFC4x3_RC2 to IFC4x3_RC3 | |
IfcStyledItem | ||||
Styles | X | X | MODIFIED | Type changed from IfcStyleAssignmentSelect to IfcPresentationStyle. |
The IfcStyledItem holds presentation style information for products, either explicitly for an IfcGeometricRepresentationItem being part of an IfcShapeRepresentation assigned to a product, or by assigning presentation information to IfcMaterial being assigned as other representation for a product.
NOTE Definition according to ISO/CD 10303-46:1992
The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation.
NOTE Entity adapted from styled_item defined in ISO10303-46.
HISTORY New entity in IFC2x2.
IFC2x2 Addendum 1 CHANGE The entity IfcStyledItem has been made non abstract and the attribute Name added.
IFC2x3 CHANGE The attribute Item has been made optional, upward compatibility for file based exchange is guaranteed.
IFC4 CHANGE The subtype IfcAnnotationOccurrence and its subtypes are deleted. Use IfcStyledItem for all instantiations. The data type of Styles has been changed to IfcStyleAssignmentSelect
Use Definition
Figure 546 illustrates use of IfcStyledItem for the two usage examples:
NOTE The new IfcStyleAssignmentSelect allows the direct assignment styles, such as IfcCurveStyle, IfcSurfaceStyle without using the intermediate IfcPresentationStyleAssignment
Figure 546 — Styled item |
# | Attribute | Type | Cardinality | Description | G |
---|---|---|---|---|---|
1 | Item | IfcRepresentationItem | ? |
A geometric representation item to which the style is assigned.
IFC2x2 Add2 CHANGE The attribute Item has been made optional. Upward compatibility for file based exchange is guaranteed. | X |
2 | Styles | IfcPresentationStyle | S[1:?] |
Representation styles which are assigned, either to an geometric representation item, or to a material definition.
IFC4 CHANGE The data type has been changed to IfcStyleAssignmentSelect with upward compatibility for file based exchange. NOTE Only the select item IfcPresentationStyle shall be used from IFC4 onwards, the IfcPresentationStyleAssignment has been deprecated. | X |
3 | Name | IfcLabel | ? | The word, or group of words, by which the styled item is referred to. | X |
Rule | Description |
---|---|
ApplicableItem | A styled item cannot be styled by another styled item. |
# | Attribute | Type | Cardinality | Description | G |
---|---|---|---|---|---|
IfcRepresentationItem | |||||
LayerAssignment | IfcPresentationLayerAssignment @AssignedItems | S[0:1] | Assignment of the representation item to a single or multiple layer(s). The LayerAssignments can override a LayerAssignments of the IfcRepresentation it is used within the list of Items.
IFC2x3 CHANGE The inverse attribute LayerAssignments has been added. IFC4 CHANGE The inverse attribute LayerAssignment has been restricted to max 1. Upward compatibility for file based exchange is guaranteed. | X | |
StyledByItem | IfcStyledItem @Item | S[0:1] | Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve.
IFC2x3 CHANGE The inverse attribute StyledByItem has been added. | X | |
IfcStyledItem | |||||
1 | Item | IfcRepresentationItem | ? |
A geometric representation item to which the style is assigned.
IFC2x2 Add2 CHANGE The attribute Item has been made optional. Upward compatibility for file based exchange is guaranteed. | X |
2 | Styles | IfcPresentationStyle | S[1:?] |
Representation styles which are assigned, either to an geometric representation item, or to a material definition.
IFC4 CHANGE The data type has been changed to IfcStyleAssignmentSelect with upward compatibility for file based exchange. NOTE Only the select item IfcPresentationStyle shall be used from IFC4 onwards, the IfcPresentationStyleAssignment has been deprecated. | X |
3 | Name | IfcLabel | ? | The word, or group of words, by which the styled item is referred to. | X |
<xs:element name="IfcStyledItem" type="ifc:IfcStyledItem" substitutionGroup="ifc:IfcRepresentationItem" nillable="true"/>
<xs:complexType name="IfcStyledItem">
<xs:complexContent>
<xs:extension base="ifc:IfcRepresentationItem">
<xs:sequence>
<xs:element name="Styles">
<xs:complexType>
<xs:sequence>
<xs:element ref="ifc:IfcPresentationStyle" 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="Name" type="ifc:IfcLabel" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcStyledItem
SUBTYPE OF (IfcRepresentationItem);
Item : OPTIONAL IfcRepresentationItem;
Styles : SET [1:?] OF IfcPresentationStyle;
Name : OPTIONAL IfcLabel;
WHERE
ApplicableItem : NOT('IFCPRESENTATIONAPPEARANCERESOURCE.IfcStyledItem' IN TYPEOF(Item));
END_ENTITY;
References: IfcRepresentationItem IfcFillAreaStyleTiles