Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Importing points

0 views
Skip to first unread message

Fred Biacsi

unread,
Jul 13, 2001, 11:13:23 AM7/13/01
to
How can I import points into Autocad from a text file?


David Bethel

unread,
Jul 13, 2001, 11:49:32 AM7/13/01
to
Fred,

The text file needs to be in true ASCII delimited format. Comma Separated
Values ( CSV ) work fine, but whatever the format, it is absolutely
imperative that it be consistent.

If the file 'point.dat' uses a comma as the deliminator & contains:

1,2,3
3,4,5
7,8,9
(eof)

And you are using a command function, then in lisp it could look like:

(command "_.LINE")
(setq rf (open "point.dat" "r"))
(while (setq nl (read-line rf))
(command nl))
(command "")
(close rf)

There are tons of other things that can be done. -David


"Fred Biacsi" <fred....@anchor-mfg.com> wrote in message
news:f0667...@WebX.maYIadrTaRb...

0 new messages