Microsoft Office Visio 2003 Inside Out (Inside Out (Microsoft))

When you import a CAD drawing, you can modify it in certain ways, even though the image is for display only. You can drag Visio shapes onto it, rescale it, crop and pan it, and hide and show layers and levels within it.

Tip

View CAD file information in Visio Visio stores the file name and timestamp of an inserted CAD drawing as custom properties for the inserted object. To display these properties, right-click an inserted drawing, and select View, Custom Properties Window. The Custom Properties window displays the full file name and path as well as the date and time when the CAD drawing was last updated.

Positioning an Imported CAD Drawing

After you have imported a CAD drawing, you can move it on the page and also move the image within its border. The tool you use determines what happens:

Visio always stores the entire imported drawing on the page. By panning, you choose an area within the whole to display. After you have positioned the CAD drawing the way you want it, you probably want to lock its position. To do this, right-click the drawing, choose <File Type> Object, Properties, and then select the Lock Position check box. If you want, select the Lock Cropping check box as well for added security. Then click OK to close the dialog box.

Note

Even if you select the Lock Cropping check box, you can still pan the CAD image with the Crop tool. To prevent this from happening, lock the CAD drawing layer as described in “Locking and Unlocking a CAD Drawing,” page 481.

Sizing an Imported CAD Drawing

After you import a CAD drawing, you can enlarge or reduce it in a couple of ways, depending on the effect you want. You can:

Changing the Scale of an Imported CAD Drawing

When you first import a CAD drawing, Visio automatically sets a custom drawing scale that ensures the drawing will fit on the page. This behavior results in the nonstandard drawing scales that you see in the CAD Drawing Properties box when you import. For example, Visio might establish a drawing scale of 1 in. = 300 in. for a large building plan—an odd scale, but one that ensures the image will fit on standard, letter-sized paper. If the Visio page is set to architectural, D-size paper, Visio imports the building using a scale of 1 in. = 70 in. The preview area in the CAD Drawing Properties dialog box reflects Visio’s bias for making drawings fit on paper, as Figure 17-9 shows.

Figure 17-9: By default, Visio establishes a scale for an imported CAD drawing that ensures the entire image will fit on the page.

Changing the Drawing Scale

You can adjust the CAD drawing scale in the CAD Drawing Properties dialog box when you import the file or display this dialog box afterward by right-clicking the imported drawing, and then choosing <File Type> Object, Properties. The drawing scale for the CAD drawing is displayed on the General tab of the CAD Drawing Properties dialog box, whereas the drawing scale for the Visio page is shown on the Drawing Scale tab of the Page Setup dialog box, as Figure 17-10 shows.

Figure 17-10: Choose, File, Page Setup to display the Page Setup dialog box, where you can set the page drawing scale.

Table 17-2 describes the drawing scale options that are available in the CAD Drawing Properties dialog box.

Table 17-2: Drawing Scale Options

Task

Option

Choose a standard drawing scale for the CAD drawing

Select Pre-Defined Scale, and then choose Architectural, Civil Engineering, Metric, or Mechanical Engineering. In the drawing scale list box, select a scale. You can safely choose one of these drawing scales if you plan to add only annotation shapes, text blocks, or other unscaled shapes.

Match the CAD drawing’s scale to the drawing scale of the Visio drawing page

Select Pre-Defined Scale, and then choose Page Scale. For example, if the Visio page is set to 1/32 in. = 1 ft., choosing Page Scale sets the CAD drawing’s scale to 1/32 in. = 1 ft. as well. This option is the easiest way to ensure good results when you add scaled Visio shapes, such as office furniture or network shapes, to the drawing.

Specify a drawing scale for the CAD drawing

Select Custom Scale, and then type the scale you want to use in the boxes.

Tip

You can also display the CAD Drawing Properties dialog box by choosing Edit, CAD Drawing Object, Properties.

Adjusting the Page Size

If you adjust the drawing scale when you import or while you work, you might also need to adjust the Visio page size so that everything fits. If the CAD drawing is larger or smaller than your Visio page, you can do either of the following:

To change the size of the drawing page, choose File, Page Setup, and then click the Page Size tab. It’s quickest to select Size To Fit Drawing Contents, which gives you a sense of just how big the CAD object is. However, this setting most likely results in an odd-sized page that might not fit on your printer’s paper.

Cross-Reference

For details about page size and printing, see “Printing Diagrams of Any Size,” page 242.

TroubleshootingThe inserted CAD drawing can’t be repositioned or rotated on the page

When you insert a CAD drawing, Visio automatically locks it to prevent you from moving, stretching, or rotating the image. The assumption is that you want to use the CAD image as a background on top of which you’ll add shapes, so naturally you don’t want the background to move. You might, however, have other plans. To move the inserted image on the drawing page, right-click it, select <File Type> Object, and then choose Properties. Clear the Lock Position check box, and then click OK. This allows you to drag the inserted CAD image to a new location. However, you still can’t resize or rotate it. To clear the aspect ratio and rotation locks that prevent you from these actions, select the CAD image, and then choose Format, Protection. Clear the check boxes for any locks you want to remove.

Категории