This question already has an answer here:
I'm trying to export contour lines from QGIS into standard AutoCAD but I'm not having much luck.
It does not seem to matter what type of file I select as the output during the contour creating (eg. DXF or CSV) all I get is a folder containing 3 files (an SHX,a compiled shape source file and a DBF file all titled as contour. I am then unable to open these files in AutoCAD.
If I then export the contour lines from QGIS as a DXF that file will open in AutoCAD but the lines appear to be missing their Z property.
Is there a simple way to export contours from QGIS that retains their xyz information?