IFC 4.3.0.0 (IFC4X3) final

8.13.3.6 IfcTextLiteralWithExtent

8.13.3.6.1 Semantic definition

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 8.13.3.6.A shows the use of planar extent and box alignment to position the text string

IfcTextLiteralWithExtent_Fig1.png 8,1 KB
Figure 8.13.3.6.A — 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.

8.13.3.6.2 Entity inheritance

8.13.3.6.3 Attributes

# Attribute Type Description
IfcRepresentationItem (2)
LayerAssignment SET [0:1] OF IfcPresentationLayerAssignment FOR AssignedItems

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.

StyledByItem SET [0:1] OF IfcStyledItem FOR Item

Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve.

IfcTextLiteral (3)
1 Literal IfcPresentableText

The text literal to be presented.

2 Placement IfcAxis2Placement

An IfcAxis2Placement that determines the placement and orientation of the presented string.

3 Path IfcTextPath

The writing direction of the text literal.

Click to show 5 hidden inherited attributes Click to hide 5 inherited attributes
IfcTextLiteralWithExtent (2)
4 Extent IfcPlanarExtent

The extent in the x and y direction of the text literal.

5 BoxAlignment IfcBoxAlignment

The alignment of the text literal relative to its position.

Table 8.13.3.6.B

8.13.3.6.4 Formal propositions

Name Description
WR31

The subtype of IfcPlanarExtent, IfcPlanarBox, should not be used to represent an Extent for the text literal.

NOT('IFC4X3.IFCPLANARBOX' IN TYPEOF(Extent))
Table 8.13.3.6.C

8.13.3.6.5 Formal representation

ENTITY IfcTextLiteralWithExtent
 SUBTYPE OF (IfcTextLiteral);
	Extent : IfcPlanarExtent;
	BoxAlignment : IfcBoxAlignment;
 WHERE
	WR31 : NOT('IFC4X3.IFCPLANARBOX' IN TYPEOF(Extent));
END_ENTITY;

8.13.3.6.6 References