3D Text Elements

TEXT

TEXT d, 0, expression

A 3D representation of the value of a string or numeric type
expression in the current style.

See the [SET] STYLE command and the DEFINE STYLE command.

d: thickness of the characters in meters.

In the current version of GDL, the second parameter is always zero.

Note

For compatibility with the 2D GDL script,
character heights are always interpreted in millimeters in DEFINE STYLE statements.

Example 1:

https://gdl.graphisoft.com/wp-content/uploads/ac19-gdl/3Dshapes_text_ex1.png
DEFINE STYLE "aa" "New York", 3, 7, 0
SET STYLE "aa"
TEXT 0.005, 0, "3D Text"


Example 2:

https://gdl.graphisoft.com/wp-content/uploads/ac19-gdl/3Dshapes_text_ex2.png
name = "Grand"
ROTX 90
ROTY -30
TEXT 0.003, 0, name
ADDX STW (name)/1000
ROTY 60
TEXT 0.003, 0, "Hotel"

RICHTEXT

RICHTEXT x, y,
        height, 0, textblock_name


A 3D representation of a previously defined TEXTBLOCK.
For more details, see the TEXTBLOCK command.

x, y: X-Y coordinates of the richtext location.

height: thickness of the characters in meters.

textblock_name: the name of a previously defined TEXTBLOCK.

In the current version of GDL, the 4th parameter is always zero.