How can I export a 3D DXF file from Surfer containing the X, Y and Z coordinates of my contour lines?

To export contours to a 3D DXF file (preserving the X, Y, and Z values), you can click File | Export or Map Tools | Layer Tools | Export Contours.

The File | Export command exports the contour map with colors, line styles, labels and any other objects in the plot window. The contour level polylines in the contour map have ZLEVEL attributes.

  1. Click File | Export.
  2. Give the file a name, change the Save as type to DXF, and click Save.
  3. In the Export Options dialog,
    1. On the Scaling page, set the Scaling source to Map.
    2. On the DXF Options page, select any options you wish.
    3. Click OK.


The Map Tools | Layer Tools | Export Contours command only exports the contour lines themselves. No colors, labels or other objects are exported. 

  1. Select the Contours layer in the Contents window.
  2. Click Map Tools | Layer Tools | Export Contours.
  3. In the Save As dialog, change the Save as type to AutoCAD DXF File, give the file a name and click Save.


Updated October 4, 2018

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.