logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How do I export a wireframe to AutoCAD?
User Opinions
100% thumbs up 0% thumbs down

How would you rate this answer?
Helpful
Not helpful
You can convert the [Surfer] GRD to an AutoCAD SCR script file that will draw the 3D wireframe in AutoCAD. Follow these steps:

1. The AutoCAD wireframe has a limit of 256 grid lines in the X and Y direction. If your grid is larger, use the Grid | Extract or Grid | Mosaic menu commands to reduce the size of the grid.

2. Choose the File | Convert menu commands to convert the GRD file to ASCII XYZ DAT.

3. Open the DAT file in the Notepad or WordPad.

4. Insert a blank row at Row 1, and add the SCR header:

   3dmesh nRows nColumns

        where nRows and nColumns are the number of rows and columns in the grid file.
        Simply have a single space between these values (no commas).

5. If you have blanked nodes in the grid, use the Edit | Replace function in Notepad to replace the blanked Z values (1.70141E+38) with the minimum Z value for the grid file.

6. Choose File | Save As to save the changes to a file name with the SCR extension and enclosed in double-quotes (e.g. "wireframe.scr"). Please see attached SCR file for example.

7. Run the SCR file in AutoCAD. For example, in AutoCAD 2002, go to Tools | Run Script.

8. You can use the 3D Orbit tool in AutoCAD (View | 3D Orbit) to change the rotation and tilt.




To export a contour map as a 3D DXF file and display it in AutoCAD, please see:
http://www.goldensoftware.com/activekb/questions/609
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
Products