Place single-line and multiline text, then edit it on the command line, in place or in the Properties panel. For labels, notes and title information on any drawing.
Before you start
- A licence that includes 2D drafting.
- Optional: make the text style you want current (see Text styles and fonts).
Steps: single-line text
- Click Annotate > Text > Text (
TEXT, aliasesDT,DTEXT). - At "Specify start point of text" click the start point. To align the text another way, type
Jfirst and choose a justification; the point you then click is that alignment point. - At "Specify height <...>" type a height or click a distance. Enter keeps the value shown, which is the height of your most recent text, or the dimension text height in a drawing without text.
- At "Specify rotation angle of text <...>" type an angle in degrees or click a direction.
- Type the text and press Enter. Each Enter starts another line below, as its own text object.
- Press Enter on an empty line to finish. Esc keeps the lines already entered.
While you type text, Space types a space; it does not act as Enter. Leading and trailing spaces are dropped.
Steps: multiline text
- Click Annotate > Text > Paragraph text (
MTEXT, aliasesMT,T). - At "Specify first corner" click one corner of the text box, then at "Specify opposite corner" the other. The box's width is the wrap width.
- Type the text. Each Enter starts a new paragraph, and
\Pinside a line also starts a new line. - Press Enter on an empty line to finish.
Lines wrap between words. A word longer than the width keeps a line of its own. Wrapping is worked out from the font every time the text is drawn; it is not stored.
Steps: edit text
- Double-click a multiline text object (with no command running) to open the in-place editor over it.
- Select characters and use B (Ctrl+B), I (Ctrl+I), the font list or Colour… to give them bold, italic, a font or a colour of their own.
- Click Apply (Ctrl+Enter) to keep the edit as one undo step, or Cancel (Esc) to leave it as it was.
- For any text, multiline text, leader, multileader or dimension, click Annotate > Text > Edit text (
TEXTEDIT, aliasesED,DDEDIT), pick the object and type its new text. Enter keeps the object unchanged. Pick the next object, or press Enter to finish. All edits of one TEXTEDIT are one undo step. - Or select one object and change it in the Properties panel, then press Enter to apply. Each change is one undo step.
Options
| Option | What it does |
|---|---|
TEXT J Justify |
Left, Center, Right; TL TC TR, ML MC MR, BL BC BR (top, middle, bottom); Align and Fit. |
| TEXT Align | Click both ends of the baseline; the text fills it and its height follows from its length. |
| TEXT Fit | Click both ends of the baseline and give a height; the text is stretched to fit. |
TEXT / MTEXT S Style |
Uses another text style for this run. A style with a fixed height sets the height, and TEXT does not ask for it. |
MTEXT J Justify |
The attachment point of the text in its box: TL TC TR, ML MC MR, BL BC BR. Top left is the default. |
MTEXT W Width |
Type the wrap width instead of clicking the second corner; 0 means no wrapping. |
MTEXT H / R |
Height and rotation. |
| Properties: text | Content, height, rotation and justification. |
| Properties: multiline text | Content (\P for a new line), height, wrap width (0 for none), line spacing, rotation and attachment. |
Example
Label a room: run TEXT, type J then MC, click the middle of the room, type 3.5 for the height, press Enter
for rotation 0, type KITCHEN, press Enter, then Enter again to finish. The word is centred on the point you
clicked.
Tips and common mistakes
- Text height is the height of capital letters in drawing units. In a millimetre drawing at 1:50, text that should print 2.5 mm high is 125 high, unless you use annotative text (see Annotation scales).
- A text style can be annotative. TEXT then asks for the paper height ("Specify paper text height").
- To show a value that updates by itself, such as the date, the drawing title or an object's length, use
FIELD. - Changes in the Properties panel are refused while a command is running. Finish or cancel the command first.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "Height must be greater than zero." | Type a positive height. |
| "Specify a point other than the first." | For Align or Fit, the second end of the baseline must differ from the first. |
| "Text must be valid UTF-8." | The pasted text holds characters that cannot be stored. Retype them. |
| "The text is on a locked layer; unlock the layer to edit it." | The in-place editor cannot open on a locked layer. Unlock it in the Layers panel. |
| "Select text, multiline text, a leader, a multileader or a dimension." | TEXTEDIT picked something else. Pick on the text itself. |
Related
Related
- Fitting an object into a space
- Grid, snap, ortho and polar tracking
- Object snaps and object snap tracking
- Entering exact points, distances and angles
- Constraint hints while drawing
- Drawing lines
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.