[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Import Survey Points
Tip# 3551 By Chris Bell On 20-Dec-2010
Rated By 1 users Downloaded : 1073
Categories : Points, Attributed Blocks
Software type : AutoCAD 2011
Rename File To : POINTSIN/,POINTSIN/point.dwg,POINTSIN/Points Info.rtf,POINTSIN/pointsin.lsp
Import ASCII file data into AutoCAD as 3D survey points.

This routine imports ASCII file data into AutoCAD as 3D survey points, complete with an attribute block listing the point properties. Chris Bell has added more features to this routine, adapting a tip originally authored by Tom Haws. One of the files is a drawing named point.DWG. Either put this drawing in a location where AutoCAD can find it, or just insert it into your drawing before you begin. Start by loading the LISP routine and typing in the command PointsIn. Select the file format that matches your file — either PNEZD (Point number, Northing, Easting, Elevation, Description) or PENZD (Point number, Easting, Northing, Elevation, Description). Both tab and comma-delimited formats are supported. Once you select the file, the operation begins. Be patient, as it may take a few seconds to process several hundred points. When the operation is complete, you will have a 3D point entity, plus the attribute block at each location of a point in the ASCII file. For more information, check out the extensive comments in the code itself, and/or the enclosed RTF file. Good job, gentlemen.


Average Rating:

User comments
Comment by Lee,David
Posted on 2011-03-03 19:07:36
This routine works, the block "Point" shows the correct N, E & EL coordinate, but the z coordinate the 3D point is not set to the correct elevation.

Log In