How To: Transform the coordinate location of a CAD file
A CAD world file can be used to transform the coordinate location of CAD drawings. A CAD world file is a simple text file with a '.wld' file extension containing four coordinate pairs, and can be easily created with a text editor.
A reference theme is needed that occupies the coordinate space to which you want to transform the CAD layer. This theme should have some features in common with the CAD drawing.
Create a new view and add the CAD drawing.
Find two points in the CAD drawing that can be easily identified in the reference theme. For example, road intersections.
Obtain the input coordinate values for the control points identified in step 2. a. Open the view containing the CAD drawing. b. Zoom in on one of the points. c. Place the cursor over the point. d. Write down the coordinates shown in the upper right-hand corner of the ArcView window. Hint: If the coordinates change when moving the mouse slightly, zoom in further.
In ArcView, the X coordinate is displayed above the Y coordinate.
Obtain the output coordinate values for the control points identified in step 2. a. Open the view containing the reference theme. b. Zoom in on the corresponding control point. c. Place the cursor over the point. d. Write down the coordinates shown in the upper right hand corner of the ArcView window.
Open a text editor, such as Notepad or WordPad.
Type in the coordinates that were just collected; use the following format:
A space character goes only between the CAD and Shapefile (reference theme) coordinate pairs, not after the commas.
Leave the text editor open.
Open another new view and add the reference theme.
Repeat steps 3 through 6 with the other control point. In step 5, add the line underneath the one just written so it looks like this:
cad x,cad-y ref-x,ref-y
Save the file with the same name of the CAD drawing and with a .wld extension. For example, caddrawing.wld.
When saving the file, be sure the file type is set to 'All Files' or '*.*'. If not, the text editor will append a .txt extension onto the file and the transformation will not work. Placing quotes around the filename also prevents the text editor from adding an extension to it.
Open a new view and add both the CAD drawing and the reference theme.
Open the Theme Properties for the CAD drawing and click the Drawing icon.
Click the radio button for World File in the Transformation box.
Navigate to the directory where the .wld file is saved and select it.
Click OK on the Theme Properties dialog box and click the 'Zoom to Full Extent' button on the view. The CAD file should now overlay the shapefile.