Académique Documents
Professionnel Documents
Culture Documents
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
AutoCAD Self-paced Learning Modules
®
AutoCAD 2D
Module 37
Text - Part 2
Learning Outcomes:
When you have completed this module, you will be able to:
1. Describe a mtext object and explain how to create, edit and explode it.
2. Describe and apply the MTEXT, QTEXT and SPELL commands.
3. Describe special text characters and the use of control codes.
Multiline Text
Unlike single line text that you learned to use in Module 20, multiline text is a text object that
can contain one or more lines of text. Usually called mtext, it has an editor that inserts and
edits text similar to a word processor. Mtext uses the current text style for its properties just
like single line text does but it allows the font, color and appearance of the text to be changed
even though it is one style.
Mtext can be exploded using the EXPLODE command. When exploded, it creates single line
text and loses all of its mtext properties except the color, height and text style.
2004-2008
2000-2002
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 2 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
A sample text string can be created to appear in the MTEXT bounding box.
It displays the text string in
the current text defaults to
help you see how the text
will appear before it is
entered. Using it as reference, it will help
you size the bounding box. The maximum
number of characters you can use is 10.
Command: MTJIGSTRING
Enter new value for MTJIGSTRING, or . for none
<"abc">: Modules
Command: MTEXT
Specify first corner P1:
Specify opposite corner or [Height/Justify/Line spacing/Rotation/Style/Width]: P2
Command
This tip only works in AutoCAD 2004 to 2008
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 3 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 6
Figure Step 7
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 4 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 11
Step 12 Block the second line of the text The easiest way to block text is by holding down
the left mouse button as you pass the cursor over the text you want blocked. While it is
blocked, select the font City Blueprint as shown in Figure Step 12.
Figure Step 12
...continued on page 37-5
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 5 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 13
Figure Step 14
Figure Step 15
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 6 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 16
Step 17 Block
the seventh line
of the Mtext.
While it is
blocked, set the
color to Blue as
shown in Figure
Step 17.
Figure Step 17
Step 19 Save and close the drawing and skip to page 37-
11.
Figure Step 18
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 7 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Step 4 Create a new text style named Module 37 with the font Romans.
Step 5 Set layer Text as the current layer and enter the
MTEXT command as shown below.
Command: MTEXT
Current text style: "Standard" Text height: 0.2000
Specify first corner:
Specify opposite corner or [Height/Justify/Line
spacing/Rotation/Style/Width]:
(Select two corners to form a window as shown in
Figure Step 5. The size and location are not that
important but try to match the figure the best you can.)
Authors Comments:
The window you create in the Mtext command is called
the Bounding box.
Step 6 The MTEXT command will open the Multiline
Text Editor dialogue box. It works like a simple word
processor. See Figure Step 6. Figure Step 5
Figure Step 6
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 8 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 7
Step 8 Enter the text shown in Figure Step 8. Use uppercase letters. Do not press the
enter key at the end of the line, just keep typing. Do not correct the spelling errors in the
text. Type it as shown.
Figure Step 8
Figure Step 9
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 9 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 11
Step 12 Block the second line of the text The easiest way to block text is by holding down
the left mouse button as you pass the cursor over the text you want blocked. While it is
blocked, select the font City Blueprint as shown in Figure Step 12.
Figure Step 12
Step 13 Block the third text line. While it is blocked, click the Underline icon as shown in
Figure Step 13.
Figure Step 13
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 10 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 14
Step 15 Block the fifth line of the text. While it is blocked, set the text height to 0.14 as
shown in Figure Step 15.
Figure Step 15
Step 16 Block the sixth line of the Mtext. While it is blocked, set the text height to 0.40 as
shown in Figure step 16.
Figure Step 16
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 11 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 17
Figure Step 18
Editing Mtext
The DDEDIT command, see Module 20, is used to edit mtext. You can enter the DDEDIT
command on the command line or enter it from one of the menus and then select the mtext to
edit. A much faster method to edit mtext is to double click the text which will open the mtext
editor displaying the selected mtext ready to be edited.
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 12 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Font Types
There are two basic font types available in AutoCAD. They are shape fonts and true type
fonts.
Shape Font
A shape font is a compiled font created using vector lines and arcs. The text characters in a
shape font are made from lines and arcs the same as drawings. They are created in a text file,
saved as a shape file and compiled before they can be used in a drawing. A shape file is
saved with the extension .SHP and after it is compiled it is given a .SHX extension. Shape
fonts can be designed and created by the AutoCAD user and is taught in the AutoCAD
Customization Modules.
True Type Fonts
A true type font is a raster font. The text characters in a
raster font are created from dots or pixels. A true type
font does not have an assigned extension.
A Shape Font Verses a True Type Font
When you use the STYLE command and pull down the
list of available fonts in your AutoCAD drawing, the
shape fonts have the extension .SHX while true type
fonts do not have an extension. See Figure 37-1.
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 13 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 1
...continued on page 37-14
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 14 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Using Special Characters plus the SPELL and QTEXT Commands - Continued
Figure Step 2
Step 3 The SPELL command will open
the Check Spelling dialogue box and one
by one will display the words it finds that
are not in the dictionary and may suggest a
replacement. You have the choice to
Ignore, Change or Add the word to the
dictionary. See Figure Step 3. In this case,
Figure Step 3 click the Ignore All box. It will then ignore
all the mtext words.
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 15 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Using Special Characters plus the SPELL and QTEXT Commands - Continued
Figure Step 5
Authors Comments:
The QTEXT command temporarily replaces the existing
text on the drawing with rectangular boxes. Since a
large amount of text makes AutoCAD work much harder
anytime it regenerates the drawing, the QTEXT
command is used to speed the regeneration and all
other speed related aspects of working on the drawing.
Displaying rectangular boxes where the text is located
allows you to see the location of existing text while you
continuing working on the drawing. When necessary,
simply enter the QTEXT command and turn QTEXT off.
Figure Step 6
Step 7 Enter the QTEXT and REGEN commands
shown below. Your drawing should appear as shown in
Figure Step 7.
Command: QTEXT
Enter mode [ON/OFF] <ON>: OFF
Command: REGEN
Regenerating model.
Command
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 16 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Using Special Characters plus the SPELL and QTEXT Commands - Continued
Step 8 Using The EXPLODE command, explode the mtext
object at the top of the drawing only. When exploded, mtext
is converted into single line text. Do not explode the lower
mtext object. Check to ensure you exploded it by selecting
one line from the text as shown in Figure Step 8.
Figure Step 8
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Using Special Characters plus the SPELL and QTEXT Commands - Continued
Step 11 Using what you just learned and the special character table on page 37-13, edit
the text to appear as shown in Figure Step 11.
Figure Step 11
Answers:
IT IS ROTATED AT %%p5%%d
%%uA DIAMETER SYMBOL IS %%c%%u Figure Step 12
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 18 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
While the DDEDIT command can be use to edit mtext, a much faster
method is to double click the text. This method will open the mtext editor
displaying the selected mtext ready to be edited.
Mtext can be one or more lines or paragraphs of text that is a single object in
AutoCAD. It uses the current style properties but within the text object the
font, color and other appearance can vary even though it retains the style it
was created in. Mtext can be exploded with the EXPLODE command and
will convert the text to single line text objects.
AutoCAD 2006-2008
AutoCAD 2004-2005
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 37 - 19 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37
F T ra n sf o F T ra n sf o
PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 37 - 20 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Explode Text
Text - Part 2 The CAD Guys Ltd. Copyright © 1993 - 2007 Module 37