Modifying Inserted CAD Drawings

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 2007 shapes onto it, rescale it, crop and pan it, and hide and show layers and levels within it.

Note

Visio 2007 stores the file name and timestamp of an inserted CAD drawing as shape data for the inserted object. To display these properties, right-click an inserted drawing, and select View, Shape Data Window. The Shape Data 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:

  • Use the Pointer tool on the Standard toolbar to drag the entire drawing to a new position.

    Pointer tool

    Crop tool

  • Use the Crop tool to move the portion of the drawing that’s visible within its border. This is called panning the drawing and is shown in Figure 17-7. The pointer displays a hand icon when you pan a drawing. Select the crop tool by choosing Shape, Actions, Crop Tool, or by right-clicking the CAD drawing and selecting Crop Tool.

    Figure 17-7. You can pan an imported CAD drawing to adjust the visible portion within the border.

Visio 2007 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 Size And Position check box. Then click OK to close the dialog box.

Note

To prevent being able to pan the CAD image with the Crop tool, lock the CAD drawing layer, as described previously in “Locking and Unlocking a CAD Drawing.”


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:

  • Crop the drawing When you crop a drawing, you change the size of the area in which the CAD drawing appears, as Figure 17-8 shows. To do this, right-click the CAD drawing and select the Crop Tool, and then drag the green selection handles on the drawing border to move its edges inward, obscuring part of the drawing. Cropped objects always have rectangular drawing borders.

    Figure 17-8. You can crop an imported CAD drawing to reduce the visible portion.

  • Resize the drawing Use the Pointer tool to resize the drawing by dragging a corner selection handle if it’s not important to preserve the drawing scale of the CAD image.

  • Change the scale Enlarge or reduce the drawing by changing its drawing scale, as the following sections describe. This is the best option when you’re using Visio 2007 shapes on top of the drawing and you need the imported drawing to occupy more or less space on the drawing page.

Changing the Scale of an Imported CAD Drawing

When you first import a CAD drawing, Visio 2007 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 2007 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 2007 page is set to architectural, D-size paper, Visio imports the same 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 2007 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 insert 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 2007 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
TaskOption
Choose a standard drawing scale for the CAD drawingSelect 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 2007 drawing pageSelect Pre-Defined Scale, and then choose Page Scale. For example, if the Visio 2007 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 2007 shapes, such as office furniture or network shapes, to the drawing.
Specify a drawing scale for the CAD drawingSelect Custom Scale, and then type the scale you want to use in the boxes.

Note

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 2007 page size so that everything fits. If the CAD drawing is larger or smaller than your Visio 2007 page, you can do either of the following:

  • Change the drawing scale, as described in the previous section.

  • Change the drawing page size.

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.

For details about page size and printing, see the section titled “Printing Diagrams of Any Size” in Chapter 8, “Saving and Printing Your Work.”


Troubleshooting: The inserted CAD drawing can’t be repositioned or rotated on the page

When you insert a CAD drawing, Visio 2007 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 Size And 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.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset