×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

insert text point file

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

RE: insert text point file

Don't have one but if you want me to, I could write one based on your specs.

RE: insert text point file

(OP)
All I'm looking for is a lisp routine that will read a file of points in the following format (signed + and -)

+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

One way that works, but its a long workaround is to use the Soikka field book program. (download at www.soika.com)

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

Turbo2,
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)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources