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

Chapter 14 Drawing Dimensions 391

Figure 14-28: The pulleys with two leaders.

Using Quick Dimension

Quick Dimension enables you to dimension several objects at one time. You can use Quick Dimension for baseline, continued, and ordinate dimensions. You can also dimension multiple circles and arcs. Later in this chapter, I explain how you can use Quick Dimension to edit dimensions as well. Although Quick Dimension may seem like the answer to all of your dimension-related prayers, you can’t use it in every case. However, it works well in “mass-

production” situations. Dimensions created with the QDIM command are fully associative, so that any changes that you make to objects automatically update their associated dimensions.

The Quick Dimension feature is not available in AutoCAD LT.

Here’s how it works, in three easy steps:

1. Choose Quick Dimension from the Dimension toolbar.

2.At the Select geometry to dimension: prompt, select all of the objects that you want

to dimension. You can’t use object snaps; you need to select objects. If you select an object in error, type r and then pick the object again to remove it. Then type a to start adding objects again.

3.At the Specify dimension line position, or [Continuous/Staggered/ Baseline/ Ordinate/Radius/Diameter/datumPoint/Edit/SeTtings]<Continuous>: prompt, right-click and choose the type of dimension you want to create. Figure 14-29 shows a set of continuous dimensions. The Datum Point option sets a new base point for baseline and ordinate dimensions. You can press Enter to use the type of dimension that you just used previously because that shows as the default. The command immediately creates the dimensions for you.

392 Part II Drawing in Two Dimensions

On the

CD-ROM

Figure 14-29: A set of continuous dimensions created with Quick Dimension.

The drawing used in the following exercise on using Quick Dimension to create dimensions, ab14-f.dwg, is in the Drawings folder on the CD-ROM.

STEPS: Using Quick Dimension to Create Dimensions

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

2.Save the file as ab14-07.dwg in your AutoCAD Bible folder. This is the same drawing that you used in the previous exercise, except that some of the dimensions have been removed (see Figure 14-30). OSNAP should be turned off. If the Dimension toolbar isn’t displayed, right-click any toolbar and choose Dimension.

3.Choose Quick Dimension from the Dimension toolbar. Follow the prompts:

Select geometry to dimension: Pick the circle at 1 in Figure 14-30.

Select geometry to dimension: Pick the circle at 2 in Figure 14-30.

Select geometry to dimension: Specify dimension line position, or

[Continuous/Staggered/Baseline/Ordinate/Radius/Diameter/datum

Point/Edit/SeTtings]

<Staggered>: Right-click and choose Radius.

Specify dimension line position, or [Continuous/Staggered/Baseline/Ordinate/Radius/Diameter/datum Point/Edit/SeTtings]

<Radius>: Pick a point on the left circle at about 80 degrees from the right quadrant.

Chapter 14 Drawing Dimensions 393

Quick Dimension places the radius dimensions.

4. Repeat the QDIM command. Follow the prompts:

Select geometry to dimension: Pick the line at 3 in Figure 14-30.

Select geometry to dimension: Pick the line at 4.

Select geometry to dimension: Pick the vertical centerline at 5. Select geometry to dimension: Pick the vertical centerline at 6.

Select geometry to dimension: Pick the line at 7. Select geometry to dimension:

Specify dimension line position, or [Continuous/Staggered/Baseline/Ordinate/Radius/Diameter/datumPoint/Ed it/SeTtings]

<Staggered>: Right-click and choose Baseline.

Specify dimension line position, or [Continuous/Staggered/Baseline/Ordinate/Radius/Diameter/datumPoint/Ed it/SeTtings]

<Baseline>: Pick a point below the model.

Quick Dimension places the baseline dimensions.

5. Save your drawing. It should look approximately like Figure 14-31.

1 2

3

 

4

7

5

6

Figure 14-30: You can use Quick Dimension to dimension the circles and create continuous dimensions.

394 Part II Drawing in Two Dimensions

Figure 14-31: The model with added radius and baseline dimensions.

Editing Dimensions

Dimensions have many properties — text size, arrowhead size, text placement, and so on. You change most of these properties by changing the dimension style — either globally changing all dimensions using that style, or overriding a dimension style setting for a particular dimension. The next chapter covers dimension styles, but here I cover several other ways to edit dimensions.

Editing associativity

By default, new drawings created in AutoCAD 2006 and AutoCAD LT 2006 are associative. However, drawings created in releases prior to 2002 do not have the new associativity.

The DIMASSOC system variable specifies whether dimensions are associative. Here are the settings:

0 creates exploded dimensions. Each part of the dimension is a separate object, and there is no association between the dimension and the object that it dimensions.

1 creates nonassociative dimensions. The dimension is all one object but is not updated if the object that it dimensions is changed.

2 creates associative dimensions. The dimension is all one object and is updated if the object that it dimensions is changed.

Chapter 14 Drawing Dimensions 395

DIMREASSOCIATE

Use the DIMREASSOCIATE command to associate dimensions with their objects. You need to use this command when you open drawings created in releases prior to 2002 in AutoCAD 2006 or AutoCAD LT 2006. You might also need to use this command when dimensions become disassociated from their objects, perhaps through some editing process, or to reassociate dimensions after you’ve disassociated them for some reason.

To use DIMREASSOCIATE, follow these steps:

1.Choose Dimension Reassociate Dimensions.

2.At the Select objects: prompt, select the dimensions that you want to associate. Press Enter to end object selection.

You see a prompt that varies according to the type of dimension you’ve selected. For example, for linear dimensions, you see the Specify first extension line origin or [Select object] <next>: prompt. At the same time, you see a marker in the form of an X that corresponds to the prompt, as shown in Figure 14-32. The marker indicates an association point (a point that connects an object and all or part of its dimension). If the X has a box around it, the dimension is already associated with the point marked by the X.

Note If you use the wheel of a mouse to pan or zoom, the X disappears. Press Esc and start the command again or type ' redraw .

Figure 14-32: When you associate a dimension with an object, an association point appears on the object.

3.Use an object snap to specify the location of the X (whether the same as shown or a different location) or use the Select Object option to select an object (right-click and choose Select Object). To skip to the next prompt without associating the dimension to the marked point, press Enter.

4.Continue to respond to the prompts in turn. The command prompts you through all of the dimensions you selected.

396 Part II Drawing in Two Dimensions

Caution

When specifying object snaps, be careful that you choose the point you want. For example, if

 

you use an Endpoint object snap where two lines meet, you cannot be sure of which line’s

 

endpoint you’ve chosen. When you move or stretch the line that you expect to be associated

 

with the dimension, you may find that the dimension doesn’t budge. That’s because it’s actu-

 

ally associated with a different line. Selecting the object itself is often a better solution,

 

because the dimension is associated with the object.

DIMDISASSOCIATE

Occasionally, you may want to edit a dimension in such a way that you need to remove its associativity. Perhaps you need to squeeze it into a tight corner. For these times, use the DIMDISASSOCIATE command by typing it on the command line. At the prompt, select the dimensions that you want to disassociate from their objects.

Note

You cannot disassociate dimensions that are on locked layers. Unlock the layer first and then

 

disassociate the dimension.

DIMREGEN

The DIMREGEN command updates the locations of all associative dimensions. This command is needed only in three unusual situations:

If you pan or zoom with a wheel mouse in a paper space layout while model space is active

If you open a drawing containing dimensioned objects that have been edited with a previous version of AutoCAD or AutoCAD LT

If you open a drawing containing external references that are dimensioned in the current drawing, and dimensioned objects in the external reference have been changed

Using the DIMEDIT command

The DIMEDIT command offers four ways to edit dimensions. The advantage of this command is that you can change more than one dimension at a time. Choose

Dimension Edit from the Dimension toolbar. The command responds with the Enter type of dimension editing [Home/New/Rotate/Oblique] <Home>: prompt. Right-click to choose one of the options:

Home: Moves dimension text to its default position as defined by the dimension style.

New: Lets you type new text to replace the existing text. The In-Place Text Editor opens, showing zeroes to represent the dimension text. You can use this option to add a suffix, such as TYP (typical), to several dimensions.

Rotate: Rotates the dimension text. This works like the rotation angle for text.

Oblique: Angles the extension lines of the dimension. Use this when you have several dimensions close together that interfere with each other. Specify the final angle of the extension lines, not the rotation from the current angle.

Note The Oblique item on the Dimension menu executes the DIMEDIT command with the Oblique option.

Chapter 14 Drawing Dimensions 397

As soon as you choose an option, DIMEDIT prompts you to select objects. You can select as many dimensions as you wish. You have the opportunity to use the DIMEDIT command in an exercise after the next section.

Using the DIMTEDIT command

The DIMTEDIT command repositions dimension text. To start the command, choose Dimension Text Edit from the Dimension toolbar. Although its name gives the impression that you can edit the text content, you can only change its position. Also, you can edit

only one dimension at a time. The command responds with the Select dimension: prompt. Select a dimension.

At the Specify new location for dimension text or [Left/Right/Center/Home/Angle]: prompt, you can use the cursor to pick a text location. You can also right-click and choose one of the options:

On the

CD-ROM

Left: Left-justifies the text of linear, radial, or diameter dimensions.

Right: Right-justifies the text of linear, radial, or diameter dimensions.

Center: Centers the text of linear, radial, or diameter dimensions.

Home: Returns dimension text to its default position and angle.

Angle: Rotates dimension text. This option is equivalent to the Rotate option of the DIMEDIT command.

The drawing used in the following exercise on using DIMEDIT and DIMTEDIT to edit dimensions, ab14-g.dwg, is in the Drawings folder on the CD-ROM.

STEPS: Using DIMEDIT and DIMTEDIT to Edit Dimensions

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

2.Save the file as ab14-08.dwg in your AutoCAD Bible folder. This is a civil engineering drawing whose dimensions need some editing (see Figure 14-33). If the Dimension toolbar isn’t visible, right-click any toolbar and check Dimension.

3.The dimension at 1 in Figure 14-33 is not in the proper units because the text was entered explicitly as 14.41. To correct this error, choose Dimension Edit from

the Dimension toolbar. At the Enter type of dimension editing [Home/New/Rotate/ Oblique] <Home>: prompt, right-click and choose New. The In-Place Text Editor opens, showing zeroes. Because you want the original text, click OK. At the Select objects: prompt, pick 1. Press Enter to end object selection. (You could correct several dimensions this way.) This action corrects the dimension, automatically creating the text in the current units.

4.The dimension text at 2 in Figure 14-33 is too close to the dimension line of the vertical dimension that crosses it. Choose Dimension Text Edit from the

Dimension toolbar. At the Select dimension: prompt, pick 2. At the Specify new location for dimension text or [Left/Right/Center/Home/Angle]: prompt, right-click and choose Right. This action moves the text to the right.

5. Save your drawing.

398 Part II Drawing in Two Dimensions

1

2

Figure 14-33: A dimensioned civil engineering drawing.

The Express Tools command, DIMREASSOC, does the same thing that you accomplished in Step 3 of this exercise — restoring the default measurement value to modified dimension text. Choose Express Dimension Reset Dim Text Value. For information about installing Express Tools, see Appendix A.

Flipping dimension arrows

Sometimes you might want to place an arrow outside the extension line, but facing inward. For example, you might do this in a tight space.

New

In AutoCAD 2006 and AutoCAD LT 2006, you can now flip either arrow on a dimension line.

Feature

 

Figure 14-34 shows a dimension with a flipped arrow.

Figure 14-34: You can flip an arrow so that it displays outside the extension line pointing inward.

To flip an arrow, pick a dimension nearest the arrow that you want to flip. Then right-click and choose Flip Arrow from the shortcut menu. Repeat the process to unflip the arrow.

Chapter 14 Drawing Dimensions 399

Editing dimension text

You can edit dimension text as you would any other multiline text object. Choose Modify Object Text Edit. At the Select an annotation object or [Undo]: prompt, choose the dimension. The In-Place Text Editor opens. Using the In-Place Text Editor for dimension text has already been covered in this chapter under the MText option of the dimensioning commands.

 

Using the Properties palette to edit dimensions

 

You can edit dimensions by using the Properties palette just as you can edit the properties

 

of any other object. Double-click any dimension to open the Properties palette. You see the

 

properties of the dimensions that you can edit.

 

Many of these settings make more sense after you learn about dimension styles, which are

 

covered in the next chapter. For example, the listings for Primary Units, Alternate Units, Fit,

 

Lines & Arrows, Text, and so on duplicate the tabs on the New Dimension Style and Modify

 

Dimension Style dialog boxes. You can change the color, layer, lineweight, and linetype. To

 

override the automatic dimension text, enter the text in the Text Override field of the Text

 

section of the Properties palette.

Tip

You can create a background mask like the one that you can create for multiline text. (For

 

more information, see Chapter 13.) If dimension text covers other objects, select the dimen-

 

sion and open the Properties palette (Ctrl+1). Choose an option from the Text Fill item. For

 

the background mask to work, the dimension needs to be on top of any other objects that it

 

overlaps. To bring a dimension to the top, use the TEXTTOFRONT command.

Using Quick Dimension to edit dimensions

You can also use Quick Dimension to edit dimensions, whether created with QDIM or some other dimensioning command. When you select the geometry and dimensions you want to edit, you see an X at each eligible edit point, as shown in Figure 14-35.

Figure 14-35: When you edit with QDIM, you see an X at eligible edit points.

400 Part II Drawing in Two Dimensions

Here’s what you can do with QDIM:

You can join two dimensions by removing the edit points between them.

You can split a dimension into two dimensions by adding edit points within the existing dimension.

You can move the dimension line.

You can change the type of dimension.

Caution

Editing with QDIM works best when the geometry is simple. Unless you can select only the

 

geometry and dimensions that you want to work with, you’ll end up changing dimensions

 

that you don’t want to edit.

To edit dimensions with QDIM, follow these steps:

1.Choose Quick Dimension from the Dimension toolbar.

2.At the Select geometry to dimension: prompt, select the geometry and the dimensions that you want to edit.

3.At the Specify dimension line position, or [Continuous/Staggered/ Baseline/Ordinate/Radius/Diameter/datumPoint/Edit/SeTtings] <Continuous>: prompt, right-click and choose Edit. You see a cross at each eligible edit point.

4.At the Indicate dimension point to remove, or [Add/eXit] <eXit>: prompt, you can:

Select the points of the dimensions you want to remove. If you see two possible edit points in line with each other that could be creating the dimension you want to remove, select both of them.

Right-click and choose Add. Use object snaps to add one or more points.

Right-click and choose Exit to continue with the command.

5.At the Specify dimension line position, or [Continuous/Staggered/ Baseline/Ordinate/Radius/Diameter/datumPoint/Edit/SeTtings] <Continuous>: prompt, right-click and choose an option if you want to change the type of dimension.

6.The prompt repeats. Pick a location for the new set of dimensions.

7.Press Enter to end the command and update the dimensions.

Using grips to edit dimensions

Grips are ideal for moving dimension lines and text. The grips at the dimension line endpoints and the text insertion point are quite useful for making adjustments in dimensions.

To move a dimension line closer or farther from the dimensioned object, pick the dimension to display the grips. Pick one of the grips at the endpoints of the dimension line to highlight it. The Specify stretch point or /Base point/Copy/ Undo/eXit: prompt appears. Drag the dimension line to the desired location. Press Esc to remove the grips.

Chapter 14 Drawing Dimensions 401

To move dimension text, pick the dimension to display the grips. Pick the grip on the dimension text to highlight it. Drag the dimension text to its desired location.

Tip For best results, turn ORTHO on while trying to drag the dimension line or the dimension text. Polar tracking also works well.

Editing objects and dimensions together

Dimension associativity enables you to edit objects and have the dimensions automatically adjust to the new object measurements. Stretching the object with the STRETCH command or grips is usually the best way to accomplish this. The object and the dimension adjust at the same time. Figure 14-36 shows a house plan before and after stretching to move a window six inches to the left. The crossing window included the entire window, and so it was simply moved. However, the crossing window crossed the walls on either side of the window and both dimensions so that they were stretched six inches to the left. Notice the change in the dimension text, indicating the new measurements.

Figure 14-36: When you stretch objects, the dimensions are automatically updated.

402 Part II Drawing in Two Dimensions

On the

The drawing in the following exercise on using DDEDIT, QDIM, grips, and STRETCH to edit

CD-ROM

dimensions, ab14-h.dwg, is in the Drawings folder on the CD-ROM.

STEPS: Using DDEDIT, QDIM, Grips, and STRETCH to Edit Dimensions

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

2.Save the file as ab14-09.dwg in your AutoCAD Bible folder. This is a cross-section of a valve part, as shown in Figure 14-37. Open the Dimension toolbar if it isn’t displayed.

2

1

3

4

Figure 14-37: A dimensioned cross-section of a valve part.

3.To replace the dimension marked Ht., choose Modify Object Text Edit. At the

Select an annotation object or [Undo]: prompt, choose the dimension at 1 in Figure 14-37. The In-Place Text Editor opens with the text displayed. Select the current text and type <>. Click OK. The command automatically creates the original measured dimension. Press Enter to end the command.

4.If you are using AutoCAD LT, skip to Step 5. Select the two dimensions marked 2 in Figure 14-37. Also select the cyan centerline and the two green hidden lines. Choose Quick Dimension from the Dimension toolbar. At the first prompt, right-click and choose Edit. At the Indicate dimension point to remove, or [Add/eXit] <eXit>: prompt, choose the two edit points (each marked with an X) on the cyan centerline. Right-click and choose Exit. At the Specify dimension line position, or [Continuous/Staggered/Baseline/Ordinate/Radius/Diameter/ datumPoint/ Edit/SeTtings] <Continuous>: prompt, place the dimension line where it was previously. (You can use the outside arrows as a guide.)

5.Pick the dimension at 1. Click the grip on the text to activate it. Drag it slightly to the left to place it closer to the object that it is dimensioning.

6.Choose Stretch from the Modify toolbar. Follow the prompts:

Select objects: Pick at 3.

Specify opposite corner: Pick at 4. 9 found

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