I have contour lines with the elevations of them in an attribute called 'CONTOUR' however these do not actually elevate the lines when I bring them into AutoCAD. To do this I want to copy and paste the 'CONTOUR' attribute information and paste it into the 'ELEVATION' attribute as shown in the table. When I Join the excel sheet to the shapefile it doesn't bring in the elevations though and I am not sure why.
When exporting the contour lines you also can use the OSgeo4W Shell:
Navigate to your folder where your shapefile is located
use this comand:
ogr2ogr -f DXF output.dxf input.shp -zfield CONTOUR
ignore the warnings you will get
- the zfield argument adds the height information to you dxf file, which is created in the same folder as the input.shp
I got the results I wanted but only through the Query command in AutoCAD. Tutorial can be found here: https://knowledge.autodesk.com/support/autocad-civil-3d/learn-explore/caas/sfdcarticles/sfdcarticles/Importing-an-ESRI-shapefile-with-elevation-values-s.html