Room Label Data and Drawing Properties

The program will place a label in the middle of the room, consisting of the name of the room and its surface area data. The room labels are displayed only in the drawing.

The room label data is defined in the system settings in the keyword group BDSX with the keyword room_label. The data in the label can be divided on different rows by using the vertical bar character (|) as a separator.

The room label above can be defined with the keyword room_label as follows:

room_label
"#NAME# |#AREA:N?.1# m\^2|OPENINGS #OPNGAREA:N?.1# m\^2"

#NAME# - Room name.

#AREA:N?.1# m\^2 - Room area at a precision of one decimal, using square meter units.

OPENINGS #OPNGAREA:N?.1# m\^2 - Text OPENINGS and the area of openings at a precision of one decimal, using square meter units.

You can also use the parameter #AREARND# to define the precision of the room area. For example:

room_label
"#NAME#|#AREARND# m\^2"

In this case, the precision depends on the keyword calc_build_area_precision. For example:

calc_build_area_precision
1.5
With the keyword value of 1.5, the precision is determined as follows: areas less than 100 m² are displayed with 0.5 square meter precision, other areas with one square meter precision as a whole number.
Note: The keyword calc_build_area_precision also defines the precision of the building area. See Calculate the Building Area.

The drawing properties of the label text (layer, pen width, font, color, etc.) are defined in the system settings in the keyword group GEOMPROP. The name of the property set is ROOM.LABEL. By default, the same property set is used for all parts of the label.

If necessary, you can define different property sets for the label parts separated with the vertical bar character. This enables positioning each part to a drawing layer of their own, for example. Define the property sets in the system settings with the keyword room_label_style.

For example:

room_label_style
"ROOM.LABEL|ROOMAREA.LABEL|ROOMOPAREA.LABEL"

This requires that the property sets have been defined in the GEOMPROP keyword group.

You can replace the default property set ROOM.LABEL also by using a hyphen (-). For example:

room_label_style
"-|ROOMAREA.LABEL|ROOMOPAREA.LABEL"

If the keyword value is empty, the default property set ROOM.LABEL is used for all parts of the label.