insert text point file
insert text point file
(OP)
DOes anyone by chance have a lisp routine that will read in a text file of XYZ values and make points?
Many thanks,
Turbo2
Many thanks,
Turbo2
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: insert text point file
RE: insert text point file
+123.1234 -456.4567 +789.7890
And make a point at that location (X Y and Z) - preferably relative to the current UCS (as oposed to WCS) but enev that is not necessary.
I once dabbled in Lisp 5 years ago, but have forgotten so much.
I thought a file may already exist.
Thanks,
Turbo2
RE: insert text point file
This will allow you to import a text file and then export it as a dxf file that AutoCad will import.
Problem is that it plots the point and writes the elevation near the point not using the decimal in the elevation as the point. (not too bad to change for a few dozen shots but impossable to do without error on several hundred survey points.)
Rick Kitson MBA P.Eng
Construction Project Management
From conception to completion
www.kitsonengineering.com
RE: insert text point file
I think you can do this with a script file easier than lisp. Looks like the text file is almost in the format needed for a script file, but need to have commas between the xyz values. Could use editor to replace spaces with commas, or import text file into Excel, parse points into columns, save as a comma delimited file. Now save with a .scr extension for a script file, add first 2 lines of:
multiple
point
x1,y1,z1
x2,y2,z2
etc.
Then run script file from within AutoCAD.
Voila! (I hope)