IFC 4.3.2.20250327 (IFC4X3_ADD2) under development

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)
IfcTextLiteral (3)
Click to show 5 hidden 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_DEV_738df036.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_DEV_738df036.IFCPLANARBOX' IN TYPEOF(Extent));
END_ENTITY;

8.13.3.6.6 References