You cannot import Z values contained in an ESRI shape file directly. However, you can create a DWG file from the ESRI shape file that does contain the correct Z values. Follow these steps for workaround:
- Open a new work session in AutoCAD Civil 3D using the Tool-based Geospatial workspace.
- In command line type MAPIMPORT.
- In the Import Location dialog box, select ESRI Shape from the Import Type drop-down menu and browse to the folder where the shape file you want to import is located. Click OK.Note: If you want to import portion of the data, or know the area you want to cover, set Spatial Filter to current display or Define Window, otherwise choose None
- In the Import window, click in the Data field […].
- In the Attribute Data dialog box, select Create Object Data and click on Select Fields
- In the Object Data Mapping, select the fields that you want written to the object data table (i.e. Elevation).
- Click OK to close all dialog boxes and import the file.
- After the shape file has been imported, save and close the drawing.
- Open a new work session.
- To attach the drawing you just saved, from Home ribbon of Geospatial Workspace click Attach and then browse to the drawing you want to attach.
- Note: Make sure you have set up a drive alias to access the drive where the drawing is saved.
- To define a new query:
- On the Home ribbon, click on Define Query button.
- In the Define Query dialog box, click Location.
- In the Location Condition dialog box, select All, and then click OK.
- In the Define Query dialog box, click the Alter Properties button.
- In the Set Property Alterations dialog box, click Elevation and then click the Expression button.
- In the Select Data dialog box, verify that the Object Data option is selected, and then select the object data field that you want to use as your elevation data. Click OK.
- In the Set Property Alterations dialog box, click Add, and then click OK.
- In the Define Query dialog box, verify that the Draw option is selected, and then click Execute Query.
- Zoom>extent
- You can verify the elevation values by looking at an object's properties..
- Save the drawing.
that's awesome man!!!
ReplyDeleteyou are awesome my brodaddy!
Delete