TEXT
Insert text in the drawing file.
Parameters
| Parameter number | Description | Values | Optional |
|---|---|---|---|
| 1 | Text to insert. Everything after the command name forms the text, including spaces | Text | Yes |
If no parameter is supplied, the command prompts for the text to insert in the message bar. If a parameter is supplied, it does not prompt for the text.
The text follows the cursor. Press the data button to insert it at that point. The text uses the active codes, height TH, justification JT, and rotation set by the active angle AA. Each execution inserts one text item. With REPEAT enabled, the command runs again until you cancel it with Esc.
Example:
text=Tc
Notes
If AUTONUM is not 0 and no parameter is supplied, the command proposes the number in the last inserted text plus AUTONUM as the text to insert. The number in the last inserted text is the one occupying the %d position in AUTONUM_FORMAT.
Run the following commands to insert even-numbered texts (2, 4, 6, ...). Then run text without parameters to insert each subsequent text:
autonum=2
text=2
Run the following commands to insert odd-numbered texts (1, 3, 5, ...). Then run text without parameters to insert each subsequent text:
autonum=2
text=1
You can change the automatic numbering format with AUTONUM_FORMAT.
Run the following commands to insert text with the values Parcela 1, Parcela 2, Parcela 3,...:
autonum_format=Parcela %d
autonum=1
text
You can insert a symbol by specifying @[symbol number] as the text to insert, provided that the active code does not use a TrueType font. The symbol definition is read from the corresponding drawing file in the symbol directory.
Run the following command to insert symbol 169 from your symbol directory:
text=@169
If CAMERA_ORIENTED_TEXT is enabled, the command places the text perpendicular to the camera viewing direction and upright on the screen, rather than in the XY plane at the active angle AA.
Command characteristics
| Command type | Interactive command |
|---|---|
| Repeats automatically | Yes |
| Menu option | Draw/Text with active angle |
| Toolbar | Texts |
| Extension | DigiNG.OrdenesStandard.dll |
| Implementation | Native |
| Related variables | AA — active angle TH — text height AUTONUM — automatic numbering increment AUTONUM_FORMAT — text format when AUTONUM is used JT — text justification REPEAT — repeat the last command executed CAMERA_ORIENTED_TEXT — orient text to the camera |
| Related commands | 1TEXT EDITABLE_TEXT TEXT_R EDITABLE_TEXT_R |
| Internal name | {4BE8E46A-4C4A-4b4f-8A36-3098094FA688} |