• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

lysp per import file txt

Barca95

Guest
Hello everyone,
as from title I would be looking for a file lisp to select and import from autocad a txt file that for example can be so structured (View attachment File da importare.txt):

(command) _line 23.63108,-0.85668 43.59764,-2.01271 (command) _line 43.59764,-2.01271 23.92008,4.13496 (command)

(command) _line 23.92008,4.13496 43.59764,-2.01271 (command) _line 43.59764,-2.01271 43.88664,2.97893

Obviously it could contain other functions besides "_line", so I would like to find a way to automatically import and execute all the contained code.
Do you have any lisp? Otherwise you can give me this beautiful code:wink:?
thanks for the attention :smile:
 
I'm sorry about that, but you're on the first message and you want to get lisp in a gift?
 
And then, without lisp, can you build those autocad lines in a second, you really have to do it with a lisp?
 
good evening:), the problem is that I often deal with long lines of code and a lisp would be much more comfortable because autocad does not accept more than one tot of characters in the command line.

p.s.: It's just because it's the first time I use this forum that I don't know how things work (and I never made a lisp and I don't know how complex it can be, if it doesn't work out in a few lines it doesn't matter), if it's not okay we also close the topic and thanks the same:)
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.

Back
Top