3 4
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 <File Type> Object, Properties. Or display the Custom Properties window (choose View, Custom Properties Window), and then select the inserted object. 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.
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:
Figure 17-7. You can pan an imported CAD drawing to adjust the visible portion within the border.
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
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:
Tip
Figure 17-8. You can crop an imported CAD drawing to reduce the visible portion.
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 may 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.
Although Visio's priority is to get a CAD drawing to fit on the page, your priorities may differ. If you change the CAD drawing's scale when you import it so that the drawing no longer fits on the page, Visio notifies you by displaying the message shown in Figure 17-10. It's simplest to click OK and continue to import without matching the scales or to select the second option and reset the scale for the Visio drawing page, assuming that it's blank. In any case, you can revisit your decision if the results aren't what you want.
Figure 17-10. If the CAD drawing scale will result in a drawing too large or too small for the current page, Visio displays this message before inserting the drawing.
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-11 shows.
Table 17-2 describes the drawing scale options that are available in the CAD Drawing Properties dialog box.
Figure 17-11. Click the Page Setup button in the CAD Drawing Properties dialog box to display the Page Setup dialog box, where you can set the drawing scale.
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 the 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
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.
For details about page size and printing, see "Printing Diagrams of Any Size."
The 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. However, you may 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.