Element mit Stilinformationen | |
Styled Item |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 |
---|---|---|---|---|
IfcStyledItem | ||||
Styles | MODIFIED | Type changed from IfcPresentationStyleAssignment to IfcStyleAssignmentSelect. |
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 366 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 366 — Styled item |
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
1 | Item | IfcRepresentationItem | [0:1] | A geometric representation item to which the style is assigned. | X |
2 | Styles | IfcStyleAssignmentSelect | S[1:?] | Representation styles which are assigned, either to an geometric representation item, or to a material definition. | X |
3 | Name | IfcLabel | [0:1] | 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 | C |
---|---|---|---|---|---|
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. | 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. | X | |
IfcStyledItem | |||||
1 | Item | IfcRepresentationItem | [0:1] | A geometric representation item to which the style is assigned. | X |
2 | Styles | IfcStyleAssignmentSelect | S[1:?] | Representation styles which are assigned, either to an geometric representation item, or to a material definition. | X |
3 | Name | IfcLabel | [0:1] | 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:group ref="ifc:IfcStyleAssignmentSelect" maxOccurs="unbounded"/>
<xs:attribute ref="ifc:itemType" fixed="ifc:IfcStyleAssignmentSelect"/>
<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 IfcStyleAssignmentSelect;
Name : OPTIONAL IfcLabel;
WHERE
ApplicableItem : NOT('IFCPRESENTATIONAPPEARANCERESOURCE.IFCSTYLEDITEM' IN TYPEOF(Item));
END_ENTITY;