Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Книги_AutoCad_2 / AutoCAD 2006 and AutoCAD LT 2006 Bible_2004г__.pdf
Скачиваний:
142
Добавлен:
09.04.2015
Размер:
17.83 Mб
Скачать

Chapter 14 Drawing Dimensions 365

Tip

Tip

Preparing to dimension

Dimensioning requires some preparation so that the result will be what you want. Before starting to create dimensions, you should prepare as follows:

1.Create a layer for your dimensions. It’s important that dimensions be easily distinguishable from the rest of your drawing. The color is usually a contrast to that of your models. For example, if your models are black (and you’re working on a white screen), you might want your dimensions to be green, magenta, or cyan.

If you often turn layers on and off (or freeze and thaw them), you may want to create a separate dimension layer for each layer of drawing data. For example, if you dimension an electrical layer that you turn off regularly, you can have a special Dim-elec dimension layer that you can turn off with the electrical layer.

2.If you’re dimensioning an existing drawing that was created in a pre-2002 version of

AutoCAD or AutoCAD LT, turn on associative dimensioning with the DIMASSOC system variable. Type dimassoc on the command line and type 2 at the prompt. (You can also choose Tools Options, click the User Preferences tab, and check the check box in the Associative Dimensioning section of the dialog box. Then click OK.)

3.Create a text style for your dimensions.

Set the height of the text style to zero. You can then set the text height when you create the dimension style. If you do specify a fixed height in your text style, that height overrides any height that you specify in the dimension style.

4.Choose Tools Drafting Settings, click the Object Snap tab, and set the running object snaps that you want. Endpoint and intersection are a necessity. Add center and quadrant if you need to dimension arcs and circles. Click OSNAP on the status bar to turn it on.

5.Create a dimension style. The next chapter covers dimension styles.

6.Save your dimension layer, dimension text style, and dimension style in your drawing templates.

The Dimension toolbar makes it easy to find the dimension commands quickly. The Dimension menu offers most of the same commands as the toolbar. To display the Dimension toolbar, right-click any toolbar and choose Dimension from the list.

Drawing Linear Dimensions

Just as the most common objects are lines, the most common dimensions are linear dimensions. Use linear dimensions for lines, a straight segment of a polyline, or a straight segment in a block. You can also use a linear dimension for arcs and circles — you get the linear length of the arc (not its perimeter length) and the diameter of the circle.

366 Part II Drawing in Two Dimensions

 

Specifying the dimensioned object

 

To dimension a line, choose Linear Dimension from the Dimension toolbar. The

 

command responds with the Specify first extension line origin or <select

 

object>: prompt. You can now either pick two extension line origin points or press Enter

 

and select an object for dimensioning.

Tip

Make it standard practice to use object snaps for choosing extension line origins. The point

 

that you pick specifies the definition point that determines the final measurement. Also,

 

proper association of dimensions with their objects depends on the points you specify.

 

Accurate dimensioning requires accurate drawings and, therefore, exact specification of the

 

points you want to use for the dimensions.

 

If you’re dimensioning more than one object, such as the distance from the endpoint of

 

one line to the endpoint of another line, pick the first extension line origin. At the Specify

 

second extension line origin: prompt, pick the second extension line origin. These two

 

points define the length of the dimension.

 

If you’re dimensioning one object, press Enter at the Specify first extension line origin

 

or <select object>: prompt. The Select object to dimension: prompt appears. Pick the

 

object.

 

At the Specify dimension line location or [Mtext/Text/Angle/Horizontal/

 

Vertical/Rotated]: prompt, pick a point for the location of the dimension line. As you

 

move the mouse, you can see the results on your screen, as shown in Figure 14-2. If you want

 

an exact location, you can type in a relative coordinate, such as @0,.5 to specify that the

 

dimension line should be 0.5 units above the object. Snap mode may also work well for you,

 

depending on the drawing environment.

 

Figure 14-2: Picking a dimension line

 

location for a linear dimension.

Pick point

Dimensioned object

Chapter 14 Drawing Dimensions 367

Object snap tracking makes it a snap to pick points for dimensioning. For example, if you’re dimensioning a house, your first extension line origin may be the outside corner of the house, but the second extension line origin may be an inner wall. At the Specify first extension line origin or <select object>: prompt, move the cursor over the inner wall endpoint to acquire it. Move the cursor back to the line you’re dimensioning and click when you see the tooltip showing the snap point you chose. The dimension goes just where you need it.

On the

The drawing used in the following exercise on drawing linear dimensions, ab14-a.dwg, is

CD-ROM

in the Drawings folder on the CD-ROM.

STEPS: Drawing Linear Dimensions

1.Open ab14-a.dwg from your CD-ROM.

2.Save the file as ab14-01.dwg in your AutoCAD Bible folder. This is a plan of a bedroom, as shown in Figure 14-3. ORTHO and OSNAP should be on. Set running object snaps for endpoint, midpoint, and intersection. The current layer should be set to Dim.

2

1

3

Figure 14-3: A bedroom plan.

3.To display the Dimension toolbar, right-click any toolbar. Click Dimension. If you want, drag the toolbar to the top or bottom of your screen until it docks.

4.Choose Linear Dimension from the Dimension toolbar. At the Specify first extension line origin or <select object>: prompt, pick 1 in Figure 14-3.

At the Specify second extension line origin: prompt, pick 2. At the Specify dimension line location or [Mtext/Text/Angle/Horizontal/Vertical/Rotated]:

prompt, move the cursor to the right until you have sufficient space for the dimension text and click.

368 Part II Drawing in Two Dimensions

5.Repeat the DIMLINEAR command. At the Specify first extension line origin or <select object>: prompt, press Enter. At the Select object to dimension: prompt, pick 3 (the window) in Figure 14-3. At the Specify dimension line location or [Mtext/Text/Angle/Horizontal/Vertical/ Rotated]: prompt, move the cursor down until you have sufficient space for the dimension text and click.

6.Save your drawing. It should look like Figure 14-4.

Figure 14-4: The bedroom with two linear dimensions.

Using dimension options

You can also use one of the options offered at the command prompt to further control the final dimension. Dimension options control the text and the angle of the dimension.

MText

The MText option lets you replace the calculated dimension text or add a prefix or suffix to it. When you right-click and choose MText at the Specify dimension line location or [Mtext/Text/Angle/Horizontal/Vertical/Rotated]: prompt, the In-Place Text Editor opens, as shown in Figure 14-5.

Figure 14-5: Changing the dimension text with the In-Place Text Editor.

Chapter 14 Drawing Dimensions 369

 

The best use of the MText option is to add some text before or after the measurement, such

 

as TYP “typical” — used when one dimension applies to several objects) or subject to final

 

approval. To add text before the measurement, simply start typing. To add text after the mea-

 

surement, press the End or Right Arrow key and then type. To replace the existing text, click

 

the text to select it and enter the replacement text. Then click OK to close the In-Place Text

 

Editor.

Note

Typing your own dimension text is most commonly used where a dimension represents sev-

 

eral sizes and refers to a size chart elsewhere in the drawing. For example, the text “Dim A”

 

might be used for this purpose. If you replace the existing text, you can obtain the original

 

text again by editing the dimension (double-click the dimension) and changing the Text

 

Override item in the Properties palette to <>.

 

If the measurement text itself does not appear the way you want it, you should change the

 

annotation specifications in the dimension style. You can also specify a prefix or suffix (such

 

as mm) for all dimensions, as explained in the next chapter. You can delete the brackets and

 

type your own dimension text, but you lose the ability of the dimension’s measurement to

 

automatically adjust to any change in the object’s size.

Tip

To add text below the dimension line, enter \X after the dimension text. Any text after the \X

 

goes below the dimension line. The “X” must be uppercase.

Text

The Text option also lets you change dimension text but does not open the In-Place Text Editor. Instead, you can quickly retype the entire dimension text as you want it on the command line.

Angle

The angle of the text (horizontal, vertical, or aligned) is specified in your dimension style. However, you can use this option to change the angle of the dimension text for a particular circumstance. Right-click and choose Angle to get the Specify angle of dimension text: prompt. Type in an angle or pick two points to align the text with an existing object.

Horizontal/vertical

The DIMLINEAR command assumes that you want a horizontal dimension if you select a horizontal object or two definition points running horizontally — ditto for a vertical dimension. Also, if you want to draw a vertical dimension of an object at an angle, you can specify this simply by moving the mouse cursor horizontally when specifying the dimension line location, as shown in Figure 14-6. If for some reason you need to force either a horizontal or vertical dimension, you can use the vertical or horizontal options.

Rotated

Use a rotated linear dimension when the length that you want to dimension is not parallel to the extension line origins. Just as the vertical dimension in Figure 14-6 does not measure the length of the line to which its extension lines extend, a rotated linear dimension does not measure a specific object, but the distance of an imaginary line parallel to the dimension line. Rotated dimensions are not very common, but when you need them, they’re the only way to get the dimension measurement that you need.

Соседние файлы в папке Книги_AutoCad_2