Tutorial: Page (1) of 2 - 11/01/01 Email this story to a friend. email article Print this page (Article printing at MyDmn.com).print page facebook

Importing Sets of Points in ASCII Into AutoCAD

By Héctor Monroy
One of the most common challenges in CAD is to import a set of points in an ASCII file into AutoCAD. This AutoLISP routine read an ASCII file with points in XYZ format and draw those points in AutoCAD.

How use the routine:


You need to have a set of point in an ASCII file with the next format per line:
[X coordinate] [Tab character] [Y coordinate] [Tab character] [Z coordinate] [Tab character] [Alphanumeric comment]

The figure No. 1 shows an example of this kind of file in MS Notepad

Typically the X, Y and Z coordinates are the East, North and Elevation coordinates per point. The alphanumeric comment (optional) is the description of the point.



To generate an ASCII file with this format you can to use the data collector features or use a spreadsheet program to write or import a set of points. For an example in MS Excel see Figure No. 2


Then export the data to a Tab delimited file format. To do it in MS Excel save the file with the Save as... feature. See the Figure No. 3. The result is similar to the file book1.txt . See Figure No. 1

Page: 1 2 Next Page


Related Keywords:AutoCAD, ASCII, DLL, CAD

HOT THREADS on DMN Forums
Content-type: text/html  Rss  Add to Google Reader or
Homepage    Add to My AOL  Add to Excite MIX  Subscribe in
NewsGator Online 
Real-Time - what users are saying - Right Now!

Our Privacy Policy --- @ Copyright, 2015 Digital Media Online, All Rights Reserved