Chapter 5
IN THIS CHAPTER
Zooming and panning
Naming and restoring views
Zooming and panning in paper space layouts
Regenerating the display
One advantage that AutoCAD has over manual drafting is its ability to show you different views of a drawing.
You move the viewpoint in, or zoom in, to see a closer view of the objects in a drawing; you move the viewpoint out, or zoom out, to see a more expansive (not expensive) view. If you watch TV or movies or own a camera, you should understand zooming.
Panning doesn’t refer to looking for gold but rather, looking at a different part of a drawing without changing the magnification of the view. If you zoom in so that part of the drawing is no longer shown onscreen, you’ll pan around in the drawing without zooming in and out. Think of the monitor as a window through which you’re looking at part of the drawing. Now reach through the window and slide the drawing around until you can see a different portion of it through the window.
In fact, you not only can zoom and pan in the drawing but also, in most kinds of drawings, you must zoom and pan frequently to be able to draw and edit effectively.
Why do you need to pan and zoom often? For starters, though many architectural drawings plot out at 3 feet by 2 feet, you probably aren’t fortunate enough to own a monitor of that size with sufficient resolution to be able to see every little detail.
In addition, technical drawings are jam-packed with lines, text, and dimensions. As discussed in Chapter 8, drawing with precision is essential to following best practices for AutoCAD drawings. Frequent zooming and panning enables you to better see detail, to draw more precisely because you can see what you’re doing, and to edit more quickly because object selection is easier when the screen isn’t cluttered with objects. This chapter describes the most useful display control features in AutoCAD.
AutoCAD makes panning easy, by offering scroll bars and real-time panning. In real-time panning (as opposed to pretend-time panning?), you can see objects moving on the screen as you drag the mouse upward and downward or back and forth. Of course, the viewpoint is moving, not the objects.
Both panning and zooming change the view — the current location and magnification of the AutoCAD depiction of the drawing. Every time you zoom or pan, you establish a new view. You can name a specific view so that returning to it is easy, as I demonstrate in the later section “A View by Any Other Name.”
You can gain a better sense of panning and zooming in a drawing when you’re looking at a drawing. Draw some objects on the screen, open an existing drawing, or launch a sample drawing in AutoCAD.
If you haven’t done so already, you can download sample files from www.autodesk.com/autocad-samples
. (You can ignore the version numbers.) The AutoCAD LT sample files are also online at www.autodesk.com/autocadlt-samples
. Note that LT drawings can be opened by standard AutoCAD and vice versa.
Later in this chapter, I cover in detail various commands and options in AutoCAD for panning and zooming — if you have a wheel mouse, however, you’ll rarely need to use other methods, especially when working in 2D drawings. If you don’t have a wheel mouse, run out and buy one now because the slight cost will be more than offset by your increased productivity. The following three actions usually suffice for almost all panning and zooming needs:
You may believe that AutoCAD is all about drawing and, occasionally, even about erasing. If so, you may be surprised to read that two of the most frequently used commands in all of AutoCAD are Pan and Zoom although the hands-down favorite is Undo. You can find these two commands in a couple of convenient places in AutoCAD:
In the Navigate and Navigate 2D panels on the View tab on the Ribbon: These two panels contain a Pan button and a drop-down set of Zoom tool buttons. This location is not the most convenient for frequently used commands — and to make matters worse, this panel may not even be visible. To display it you must right-click anywhere in the View tab, click Show Panels, and then click Navigate.
If you’re primarily creating 2D drawings, you can remove some of the 3D related viewing tools from the Navigation bar or turn off the ViewCube itself, either for the drawing session or permanently. Choose a method:
Because zooming is a frequent activity in AutoCAD, you should know some alternative ways to zoom.
In addition to the Zoom button on the Navigation bar I describe earlier in this chapter, you’ll find tool buttons for all the Zoom options in the Navigate panel on the View tab.
Click the small down arrow in the lower-right corner of the panel and a menu with the other options opens, as shown in Figure 5-2.
The Zoom command has 11 options. The most important ones are described in this list:
Extents and All: The Zoom Extents button (with the four-headed arrow and the magnifying glass) zooms out just far enough to show all objects in the current drawing. The Zoom All button (showing the sheet with the folded-over corner) does almost the same thing: It zooms to show the rectangular area defined by the drawing limits set with the LIMITS command, or it zooms to show the extents — whichever is larger. These two options are especially useful when you zoom in too close or pan off into empty space and want to see the entire drawing again.
Limits and extents are slightly different. Limits are set by the Limits command. You can configure AutoCAD to not allow you to draw anything outside the limits, but this usually causes more problems than it solves. Extents are defined by the smallest imaginary rectangle that will just surround every object in your drawing. A good April Fool’s trick is to sneak up to another person’s computer and draw a tiny circle by typing the location coordinates as something like 10000,10000. The next time the person does a Zoom Extents, his or her drawing will seem to disappear.
Use Zoom All or Zoom Extents and then save the drawing before you close it to ensure that:
Window: This option, which is useful for zooming in quickly and precisely, zooms to a section of the drawing that you specify by clicking two points. The two points define the diagonal of a window around the area you want to see.
The Zoom command’s Window option is not a click-and-drag operation, unlike in most other Windows programs and — confusingly — unlike in the Zoom/Pan Realtime Zoom Window option. To use the Zoom command’s Window option, you click one corner, release the mouse button, and then click the other corner.
I cover another important Zoom option when discussing paper space viewports in Chapter 12.
If you repeatedly have to zoom and pan to the same area, you can quickly see what you want to see by using a named view. After you name and save a view of a particular area of a drawing, you can return to that area quickly by restoring the view. You use the View command, which displays the View Manager dialog box, to create and restore named views.
Follow these steps to create a named view:
Start the View command from the keyboard. Or on the View tab on the Ribbon, click View Manager in the Views panel.
If the Views panel is not visible, right-click anywhere in the View tab, click Show Panels, and then click Views.
The View Manager dialog box opens.
Click New.
The New View/Shot Properties (New View in AutoCAD LT) dialog box appears, as shown in Figure 5-3.
(Optional) Type a new category in the View Category text box, or select an existing one from the drop-down list.
You create your own view categories to organize views and certain display characteristics of views. This feature is used mainly in sheet sets. If you aren’t using them, you can leave the default value, <None>, in the View Category box or clear the current value. (A discussion of sheet sets is beyond the scope of this book.)
Make sure that the View Type drop-down list is set to Still.
The Still option creates a static thumbnail image of the objects in the area that is defined by the named view for use in ShowMotion. Visit the online Help system if you want to know more about the Cinematic and Recorded Walk options that you can choose from this drop-down menu, which are used mainly in 3D work.
AutoCAD LT doesn’t support view types, so if you’re working with AutoCAD LT, skip Step 6. The New View dialog box in AutoCAD LT omits the View Type list box, most of the Settings drop-down options, and the Background area.
In the Boundary area, select the Current Display radio button, if it isn’t selected already.
If you want to save a different view boundary, select the Define Window radio button instead, click the Define View Window button that appears to the right of it, and pick two corners of the region’s boundary (as though you’re zooming windows).
If you really want to get fancy, click the down arrow in the lower-left corner.
A detailed description of all the options is beyond the scope of this book.
Confirm or change the choices.
If you select the Save Layer Snapshot with View check box, when you later restore the view, AutoCAD also restores the layer visibility settings (On/Off and Freeze/Thaw) that were in effect when you created the view. I discuss layer visibility settings in Chapter 9. The Live Section and Visual Style settings are intended primarily for 3D drawings; these two settings aren't included in AutoCAD LT.
Click OK.
The New View/Shot Properties (New View in AutoCAD LT) dialog box closes, and you see the new named view in the list in the View Manager dialog box.
Click OK.
The View Manager dialog box closes.
To restore a named view, follow these steps:
From the View tab on the Ribbon, click View Manager from the View panel.
Alternatively, type View and press Enter. The View Manager dialog box appears.
As you zoom and pan around the drawing, you may wonder how the image you see onscreen is related to the DWG file that AutoCAD saves on the hard drive. Well, maybe you don’t wonder about it, but I tell you in this section anyway.
When you draw and edit objects, AutoCAD stores all their geometrical properties (that is, location and size) in a highly precise form — technically, double floating-point precision. The program always maintains this precision when you save the DWG file. For reasons of computer performance, however, AutoCAD does not use that high-precision form of the data to display the drawing onscreen. Instead, AutoCAD converts the highly precise numbers in the DWG file into slightly less precise integers in order to create the view you see onscreen.
The happy consequence of this conversion is that zooming, panning, and other display changes happen a lot faster than they would otherwise. The unhappy consequence is that the conversion can make circles and arcs look like polygons. AutoCAD solves this problem by regenerating the drawing (also known as performing a REgen operation).
In most cases, AutoCAD regenerates drawings automatically whenever it needs to. You sometimes see command-line messages such as Regenerating model
or Regenerating layout
, indicating that AutoCAD is handling the regenerating for you.
If, on the other hand, you see the command-line message Regen queued
, AutoCAD is warning you that it’s not performing a regeneration, even though one might be advisable. In addition, you might see the warning message About to regen -- proceed?
. AutoCAD is saying, “What the drawing looks like onscreen now may not exactly match the real version of the drawing database that’s stored when you save the drawing. I’ll update the display version at the next regeneration.”
You can control whether regenerations happen automatically by using the REGENMODE system variable. See the online Help system for more information on this variable, and see Chapter 23 for general information on system variables.
Almost every new release of AutoCAD, has improved graphics performance. The program has come a long way from the so-called high-resolution 640 x 480 16-color Tecmar Graphics Master adapter, which I started with.
18.218.61.16