Text - Buchstabensymbole mit geometrischer Ausdehnung | |
Text Literal With Extent |
The text literal with extent is a text literal with the additional explicit information of the planar extent. An alignment attribute defines how the text box is aligned to the placement and how it may expand if additional lines of text need to be added.
Figure 403 shows the use of planar extent and box alignment to position the text string
Figure 403 — Text literal with extent and alignment |
The planar extent defines the box model within which the text is placed. Padding maybe defined in the text style that offsets the text from the box to its inside.
NOTE Entity adapted from text_literal_with_extent defined in ISO10303-46
HISTORY New entity in IFC2x2.
IFC2x3 CHANGE The IfcTextLiteralWithExtent has been changed by adding BoxAlignment.
# | Attribute | Type | Cardinality | Description | G |
---|---|---|---|---|---|
4 | Extent | IfcPlanarExtent | The extent in the x and y direction of the text literal. | X | |
5 | BoxAlignment | IfcBoxAlignment | The alignment of the text literal relative to its position. | X |
Rule | Description |
---|---|
WR31 | The subtype of IfcPlanarExtent, IfcPlanarBox, should not be used to represent an Extent for the text literal. |
# | 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 | |
IfcGeometricRepresentationItem | |||||
IfcTextLiteral | |||||
1 | Literal | IfcPresentableText | The text literal to be presented. | X | |
2 | Placement | IfcAxis2Placement | An IfcAxis2Placement that determines the placement and orientation of the presented string. | X | |
3 | Path | IfcTextPath | The writing direction of the text literal. | X | |
IfcTextLiteralWithExtent | |||||
4 | Extent | IfcPlanarExtent | The extent in the x and y direction of the text literal. | X | |
5 | BoxAlignment | IfcBoxAlignment | The alignment of the text literal relative to its position. | X |
<xs:element name="IfcTextLiteralWithExtent" type="ifc:IfcTextLiteralWithExtent" substitutionGroup="ifc:IfcTextLiteral" nillable="true"/>
<xs:complexType name="IfcTextLiteralWithExtent">
<xs:complexContent>
<xs:extension base="ifc:IfcTextLiteral">
<xs:sequence>
<xs:element name="Extent" type="ifc:IfcPlanarExtent" nillable="true"/>
</xs:sequence>
<xs:attribute name="BoxAlignment" type="ifc:IfcBoxAlignment" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcTextLiteralWithExtent
SUBTYPE OF (IfcTextLiteral);
Extent : IfcPlanarExtent;
BoxAlignment : IfcBoxAlignment;
WHERE
WR31 : NOT('IFCPRESENTATIONDEFINITIONRESOURCE.IfcPlanarBox' IN TYPEOF(Extent));
END_ENTITY;