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

150 Part II Drawing in Two Dimensions

Using named views with sheet sets

Sheet sets were introduced in AutoCAD 2005. (AutoCAD LT doesn’t include this feature.) You can combine layouts from more than one drawing into a sheet set. Sheet sets are a powerful way to organize many layouts. I cover them in detail in Chapter 26. However, at this point you should know that named views have a value beyond helping you display an area of your drawing. They can also turn into your final layout for plotting.

Suppose that you’re drawing a mechanical model with a top view, a side view, and a section view. In the final plot, you want to display these three views on one sheet of paper. Without sheet sets, you would create three floating viewports and individually pan and zoom to get the three views. (For more information on floating viewports, see the “Floating Viewports” sidebar in this chapter, as well as Chapter 17.) Using the sheet-set feature, as you work you can create named views of the three parts of the drawing. Then you can use those same views to create the floating viewports for plotting.

Working with Tiled Viewports

Tiled viewports enable you to divide up the screen into rectangular bounding boxes. You can then show a different view of your drawing in each viewport. The purpose of tiled viewports is to help you draw. For example:

Cross-

Reference

You can see the whole drawing in one viewport and a zoomed-in portion of that drawing in another viewport.

You can see widely separated views of a large drawing at one time.

There are two types of viewports — tiled and floating. For more information on floating viewports, see the Floating Viewports sidebar in this chapter. For a detailed discussion, turn to Chapter 17.

Actually, you’re already using a tiled viewport because the regular single view of your drawing that you’ve been working with represents the default of a one-tile viewport.

Tiled viewports have the following characteristics:

No matter how many viewports you have, they always collectively take up the entire screen. They are not separate entities but a way of dividing up the screen.

Only one viewport can be active at a time. The active viewport has a bold border.

The crosshairs appear only in the active viewport.

The UCS (User Coordinate System) icon (if set to On) appears in each viewport.

Any change that you make to your drawing in one viewport automatically appears in every other viewport (or in viewports that show the part of the drawing where you made the change).

You can create up to 64 viewports — but you’ll never want to create that many!

You can begin a command in one viewport and finish it in another. For example, you can start a line in one viewport, switch to a second viewport, and end the line there.

You can save and restore viewport configurations.

Figure 8-11 shows a drawing divided into three tiled viewports. Each viewport shows a different view of the same drawing.

Chapter 8 Viewing Your Drawing 151

Figure 8-11: A drawing showing three tiled viewports with a different view in each viewport.

Thanks to Jerry Bottenfield of Clow Valve Company, Oskaloosa, Iowa, for this drawing.

Configuring tiled viewports

Creating tiled viewports involves deciding how you want to divide up the screen. A set of tiled viewports is called a configuration. A few simple configurations come with AutoCAD and AutoCAD LT, but you can create your own by further dividing up any of the viewports. You can also join two viewports. Finally, you can always return to the default of one viewport.

Creating tiled viewports

To add viewports, choose View Viewports. This opens a submenu from which you can choose from the preset configurations.

You can choose to create up to four tiled viewports from the submenu, at which point you respond to the options that appear on the command line. For example, if you choose 2 Viewports, the command responds with the Enter a configuration option [Horizontal/ Vertical] <Vertical>: prompt. Right-click and choose Horizontal or Vertical to create two horizontal or vertical viewports. If you choose 4 Viewports, you get four equal viewports, one in each corner. However, if you choose 3 Viewports, you can choose from several options to configure the three viewports.

An easier way to configure viewports is to choose New Viewports from the submenu. The Viewports dialog box opens with the New Viewports tab on top, as shown in Figure 8-12. You choose the configuration that you want here. You see a preview of the configuration.

If you have named views in your drawing, you can specify a view for each viewport to display. Click a viewport in the Preview pane and choose a named view from the Change View To dropdown list box at the bottom of the dialog box. If your drawing is in 3D, you can choose 3D from the Setup drop-down list box, and AutoCAD creates standard orthogonal views in the viewports. When you’ve specified your viewport configuration, click OK to return to your drawing.

152 Part II Drawing in Two Dimensions

Figure 8-12: The Viewports dialog box makes it easy to choose a configuration.

The Viewport dialog box is usually the best place to start creating viewports. However, if the standard configurations do not meet your needs, you can use one of them as a starting point and then use the other options.

Notice the Apply To drop-down list at the bottom-left corner of the Viewports dialog box in Figure 8-12. By default, the tiled viewport configurations apply to the entire display, meaning that they replace your current configuration. You can also choose to apply the configuration to the current viewport. The active viewport has a bold border and crosshairs. To make a viewport active, click anywhere inside that viewport. Then choose View Viewports New Viewports, choose Current Viewport from the Apply To drop-down list, and choose the configuration that you want for that viewport.

Let’s say that you have four equal viewports, and the top-left viewport is active. If you choose the Four: Equal configuration from the Viewports dialog box while the top-left viewport is active and apply it to the current viewport, the top-left viewport is divided into four viewports. Now you have seven viewports in the drawing.

Removing tiled viewports

One way to remove a tiled viewport is to join it to another viewport. To join one viewport to another, choose View Viewports Join. At the Select dominant viewport <current viewport>: prompt, click the viewport that you want to retain or press Enter if you want to retain the current viewport. At the Select viewport to join: prompt, click the adjacent viewport that you want to join into the dominant viewport. When the two viewports merge, you lose the display in this second viewport. Together, the adjacent viewports must form a rectangle.

The only other way to remove all tiled viewports in one step is to return to the single viewport configuration. Choose View Viewports 1 Viewport. The display in the current viewport remains.

Chapter 8 Viewing Your Drawing 153

Using tiled viewports

After you’ve created the viewport configuration that you want, you’re ready to use it. The first step is to create the views that you need in each viewport.

Creating viewport views

Creating views in each viewport involves two steps:

1.

Make a viewport current by clicking anywhere inside it.

2.

Zoom and pan until you have the view that you want.

Tip

Many users choose one viewport to display the entire drawing and the other viewports to

 

display zoomed-in views of smaller sections.

Drawing from viewport to viewport

After you have the viewport configuration and views that you need, you can start to draw. One of the great advantages of viewports is that you can draw from one viewport to another. In a large drawing, you may need to draw a line from one end of the drawing to another, but when you display the entire drawing you can’t see the detail well enough to specify where to start and end the line. The basic steps to draw from one viewport to another are as follows:

Cross-

Reference

1.Click the viewport where you want to start. This might be a small detail of one corner of your drawing.

2.Start the command and specify any options that you need. Specify any necessary coordinates as you usually would.

3.To continue the command in a second viewport, click to activate that viewport. Continue the command, specifying coordinates as necessary.

4.You can continue the command in a third viewport by clicking it. Do this until you’ve completed the command. If you have a viewport displaying the entire drawing, you immediately see the results in that viewport as well.

You can also use viewports to edit your drawing. Chapters 9 and 10 cover the commands used to edit your drawing.

All commands except those that change the display — such as zooming, panning, and creating views — can be started in one viewport and continued in another.

Saving and restoring viewport configurations

You can save a tiled viewport configuration. If you find yourself creating a particular configuration over and over, you should save it. Saving a configuration is just a matter of giving it

a name. You can then restore it when needed. Viewport configuration names can be up to 255 characters and can include spaces.

154 Part II Drawing in Two Dimensions

Saving a viewport configuration

After you create a viewport configuration that you like, follow these steps to save it:

1.Choose View Viewports New Viewports if you aren’t already in the Viewports dialog box.

2.Type a name in the New Name text box.

3.Click OK.

Restoring a viewport configuration

After returning to one viewport or using a different configuration, you can restore a named viewport configuration, as follows:

1.Choose View Viewports Named Viewports to open the Viewports dialog box with the Named Viewports tab on top, shown in Figure 8-13.

Figure 8-13: The Named Viewports tab lists saved viewport configurations.

2.Choose the viewport that you want to restore.

3.Click OK.

On the

The drawing used in the following exercise on creating, naming, and restoring tiled viewport

CD-ROM

configurations, ab08-c.dwg, is in the Drawings folder on the CD-ROM.

Chapter 8 Viewing Your Drawing 155

Floating Viewports

AutoCAD and AutoCAD LT have two types of viewports: tiled viewports, which are discussed here, and floating viewports, which I cover in Chapter 17. These two types of viewports have many similarities, but they have different purposes. Whereas the purpose of tiled viewports is to help you draw and edit your drawing, floating viewports are used to lay out your drawing for plotting.

Floating viewports create layouts, which enable you to treat your screen like a sheet of paper. You create floating viewports and perhaps a title block on this electronic sheet of paper. You can create one or more layouts. Each floating viewport can show a different view of your drawing — just like tiled viewports. But floating viewports then let you plot all of those views on one sheet of paper. You can’t do that with tiled viewports, which are just devices to let you temporarily display your drawing in a way that helps you draw and edit. However, you can also draw and edit using floating viewports.

Tiled viewports are covered here because they are appropriate for learning how to draw and edit your drawing. Floating viewports are covered in Chapter 17 because you use them to lay out your drawing for plotting.

STEPS: Creating, Naming, and Restoring Tiled Viewport

Configurations

1.Open ab08-c.dwg from the CD-ROM.

2.Save the file as ab08-02.dwg in your AutoCAD Bible folder.

3.Choose View Viewports New Viewports to open the Viewports dialog box.

4.In the listing at the left of the dialog box, choose Three: Above. Click OK. You see three tiled viewports.

5.Click the bottom-right viewport. Choose Zoom Window on the Zoom flyout of the Standard toolbar and choose a window around the left portion of the threaded model (the upper part of the drawing).

6.Click the bottom-left viewport. Choose Zoom Window on the Zoom flyout of the Standard toolbar and choose a window around the bottom-left portion of the drawing (not including the title block).

7.Click the top viewport. Choose Zoom Extents from the Zoom flyout of the Standard toolbar. Figure 8-14 shows the results.

8.Choose View Viewports New Viewports. In the New Name text box, type 3 view O Ring and click OK.

9.With the top viewport still active, choose View Viewports 1 Viewport to display the view shown in the last active viewport.

10.Choose View Viewports Named Viewports.

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