
Be careful using this technique with live data as it is possible to modify the attached drawings. (On the Map Explorer tab of the Task Pane right-click your drawing and click Detatch). Save the new drawing and then detatch the first drawing. Zoom extents, and there you have it, your contours in the drawing with the proper elevations assigned. In the Set Property Alterations dialog, click Add.In the Property Alteration Expression dialog, expand Object Data, expand the object data table and select the field that contains the elevation data.In the Task Pane on the Map Explorer tab, expand Query Library, right-click Current Query and click Define.Select the drawing previously created in Part A, click Add.In the Select drawings to attach dialog, for Look in, select the Alias that you just created.In the Drive Alias Administration dialog, click Add.and then click Close.In the Choose Directory dialog, select the location where you saved the dwg in Part A.In the Drive Alias Administration dialog, click Browse.Note that it can be multiple characters, but no spaces are allowed. Click the Create/Edit Aliases button,, if the drawing is not on the C drive.In the Map Explorer tab, right-click Drawings and click Attach.If the Map Task Pane is not currently showing, type MAPWSPACE at the command line and select On.Note which field contains your elevation data, then save and close the file. This is the object data that we brought in with file. Notice that the AutoCAD Elevation property is 0, but that we also have an “OD” category in Properties. Select a contour line and look at the Properties Palette. When the file is done importing, zoom extents to see the results. Click OK to close the Attribute Data dialog.In the Import dialog, select Import polygons as closed polylines.Make sure Files of type is set to ESRI Shapefile, select the file, and click Open.dbf files in order to import and perform the translation. In this post, I’ll go through importing an ESRI shape file containing contours, and moving those contours up to the appropriate elevation.ĪutoCAD Map, Civil 3D, Land Desktop, and Topobase all have the ability to import a shape file. Though if they are contours, they should have an attribute that represents their elevation. For example, shape file vectors are always 2D. Because each software package structures data differently, translating it into something useful can be challenging. Shape files (.shp) are a common file format in the GIS world, the file format is often used to exchange data between ESRI software and AutoCAD.
