You may find that you are entering a lot of single words or simple labels that don’t require all the bells and whistles of the Multiline Text Editor. AutoCAD
offers the single-line text object that is simpler to use and can speed text entry if you are only adding small pieces of text.
- Adjust your view so it looks like Figure 8.10.
- Enter Dt, or choose Draw > Text > Single Line Text. This issues the Dtext command.
- At the Height prompt, enter 6″ (15 for metric users) to indicate the text height.
- At the Insert; on angle <0>: prompt, press .J to accept the default, 0. You can specify any angle other than horizontal (for example, if you want your text to be aligned with a rotated object). You’ll see a text I-beam cursor at the point you picked in step 3.
- At the Text prompt, enter the word Kitchenette. As you type, the word. appears in the drawing as well as in the Command window.
- Press button to move the cursor down to start a new line.
- This time you want to label the bathroom. Pick a point to the right of the door swing at coordinate 19′-11″,26′-5″(610,805 for metric users). The text cursor moves to that point.
- Press butto again to exit the Dtext command.
Here you were able to add two single lines of text in different parts of your drawing fairly quickly. Dtext uses the current default text style settings (remember that earlier you set the text style to Standard), so the kitchen and bath labels use the Standard style.
Editing Single-Line Text Objects
Editing single-line text objects uses the same tools as those for multiline text, though the dialog boxes that result are different. In this exercise, you’ll change the labels in both the kitchen and bath using the Dd edit command.
- Type ED or choose Modify > Object > Text.
- Click the Kitchenette label. A small Edit Text dialog box appears.
- Using the cursor, highlight the “ette” in kitchenette and delete it.
- Click OK. (Notice that Ddedit is still active.)
- Click the Bathroom label.
- In the Edit Text dialog box that appears, change Bathroom to Bath.
- Click OK and then press button to exit the Ddedit command.
As you can see, even the editing is simplified. You are limited to editing the text only. This can be an advantage, however, when you need to edit several pieces of text. You don’t have other options to get in the way of your editing.
You can change other properties of single-line text using the Properties dialog box. For example, suppose you want to change the Bath label to a height of 9 inches.
- Click the Bath text, then right-click and select Properties. The Properties dialog box appears.
- Select the Height value in the Properties dialog box and change it to) 9″.
- Press button and the text in the drawing increases in size to 9 inches high.
- Click the Undo tool on the menu bar to undo the change in text height.
- Click File > Save to save the changes you’ve made thus far.
- Close the Properties dialog box.
The Properties dialog box lets you change the Height, Rotation, Width Factor, Obliquing, Justification, and Style of a single-line text object. You can also modify the text content.
Justifying Single-Line Text Objects
Justifying single-line text objects works in a slightly different way from multiline text. For example, if you change the justification setting to Center, the text moves so the center of the text is placed at the text insertion point. In other words, the insertion point stays in place while the text location adjusts to the new justification setting. The relationship between single-line text and the insertion point based on different justification settings.
Here are descriptions of each of these options (I’ve left Fit and Align until last, because these options require a bit more explanation):
Center Center causes the text to be centered on the start point, with the baseline on the start point.
Middle Middle causes the text to be centered on the start point, with the baseline slightly below the start point.
Right Right causes the text to be justified to the right of the start point, with the baseline on the start point.
TL, TC, and TR TL, TC, and TR stand for top left, top center, and top right. Text using these justification styles appears entirely below the start point, justified left, center, or right, depending on which option you choose.
ML, MC, and MR ML, MC, and MR stand for middle left, middle center, and middle right. These styles are similar to TL, TC, and TR, except that the start point determines a location midway between the baseline and the top of the lowercase letters of the text.
BL, BC, and BR BL, BC, and BR stand for bottom left, bottom center, and bottom right. These styles, too, are similar to TL, TC, and TR, but here the start point determines the bottom-most location of the letters of the text (the bottom of letters that have descenders, such as p, q, and g).
Align and Fit Options With the Align and Fit justification options, you
must specify a dimension within which the text is to fit. For example, suppose you want the word “Refrigerator” to fit within the 26″-wide box representing the refrigerator. You can use either the Fit or the Align option to accomplish this. With Fit, AutoCAD prompts you to select start and end Points, and then stretches or compresses the letters to fit within the two points you specify. You use this option when the text must be a consistent height throughout the drawing and you don’t care about distorting the font.
Align works like Fit, but instead of maintaining the current text style height, the Align option adjusts the text height to keep it proportional to the text width, without distorting the font. Use this option when it is important to maintain the font’s shape and proportion. Figure 8.12 demonstrates how Fit and Align work.
Using Special Characters with Single-Line Text Objects
Just as with multiline text, you can add a limited set of special characters to single- line text objects. For example, you can place the degree symbol (0) after a number, or you can underscore (underline) text. To accomplish this, you use double percent (%%) signs in conjunction with a special code. For example, to underscore text, you enclose that text with the %% signs and follow it with the underscore code. So, to get this text: “This is underscored text you enter this at the prompt:
This is %%uunderscored%%u text.
Overs coring (putting a line above the text) operates in the same manner. To insert codes for symbols, you just place the codes in the correct positions for the symbols that they represent. For example, to enter 100.5°, you type 100.5%%d.
Here is a list of the codes you can use:
Using the Character Map Dialog Box to Add Special Characters
You can add special characters to a single line of text in the same way you would with multiline text. You may recall that to access special characters, you use the Character Map dialog box, This dialog box can be opened directly from the Windows Explorer.
Using Windows Explorer, locate the file Charmap. exe in the Windows folder. Double-click it and the Character Map dialog box appears. You can then use the procedure discussed in the Adding Special Characters section earlier in this chapter cut and paste a character from the Character Map dialog box. If you find you use the Character Map dialog box often, create a shortcut for it and place the short- cut in your AutoCAD Program group .
Although AutoCAD is primarily a drawing program, you will find that some of your drawings contain more text than graphics. Autodesk has recognized this and included a spelling checker starting in AutoCAD Release 14.If you’ve ever used the spelling checker in a typical word processor, such as Microsoft Word, the AutoCAD spelling checker’s operation will be familiar to you. These steps show you how it works.
- Choose Tools > Spelling from the pull-down menu, or type Sp.
- At the Select objects: prompt, select any text object you want to check. You can select a mixture of multiline and single-line text.When the spelling checker finds a word it does not recognize, the Check Spelling dialog box appears.
In the Check Spelling dialog box, you’ll see the word in question, along .with the spelling checker’s suggested alternate word in the Suggestions input box. If the spelling checker finds more than one suggestion, a list of suggested alternate words appears below the input box. You can then highlight the desired,replacement and click the Change button to change the misspelled word, or clickChange All to change occurrences of the word in the selected text. If the suggested word is inappropriate, choose another word from the replacement list (if any), or enter your own spelling in the Suggestions input box. Then choose Change or Change All.
Here is a list of the options available in the Check Spelling.dialog box:
Ignore Skips the word.
Ignore All Skips all the occurrences of the word in the selected text.
Change Changes the word in question to the word you have selected (or entered) from the Suggestions input box.
Change All Changes all occurrences of the current word, when there are multiple instances of the misspelling.
Add Adds the word in question to the current dictionary.
Lookup Checks the spelling of the word in question. This option is for the times when you want to find another word that doesn’t appear in the Suggestions input box.
Change Dictionaries Lets you use a different dictionary to check spelling. This option opens the Change Dictionaries dialog box, described in the upcoming section.
Choosing a Dictionary
The Change Dictionaries option opens the Change Dictionaries dialog box, where you can select a particular main dictionary for foreign languages, or create or choose a custom dictionary. Main dictionary files have the .dct extension. T he Main dictionary for the U.S. version of AutoCAD is Enu. dct,
In the Change Dictionaries dialog box, you can also add or delete words from a custom dictionary. Custom dictionary files are ASCII files with the .cus extension. Because they are ASCII files, they can be edited outside of AutoCAD. The Browse button lets you view a list of existing custom dictionaries.
If you prefer, you can also select a main or custom dictionary using the Dctust and Dctmain system variables. See Appendix D for more on these system variables.
A third place where you can select a dictionary is in the Files tab of the Options dialog box (Tools> Options). You can find the Dictionary listing under Text Editor, Dictionary, and Font File Names. Click the plus sign next to this listing and then click the plus sign next to the Main Dictionary listing to expose the dictionary options.
From here, you can double-click the dictionary you prefer. The pointing hand icon moves to the selected dictionary.