Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

3d polyline from excel, csv or txt

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
7724 Views, 2 Replies

3d polyline from excel, csv or txt

Hello,
Does anybody has a lisp for drawing a 3dpolyline from a txt, excel or csv file with points coordinates? Thanks!
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Try here:

http://discussion.autodesk.com/forums/search.jspa?threadID=&q=3d+pline+from+csv&objID=f130&dateRange=all&numResults=30&rankBy=10001
Message 3 of 3
Anonymous
in reply to: Anonymous

Just open the .CSV in a text editor and add the first line "3DPOLY". It will look like this:

3DPOLY
1023893.32,4909903.32,100.3
1023442.45,4909705.12,101.2
1023544.56,4909808.43,99.89

The format should be: x,y,z.....

Save it with the extension of .SCR. Now you have a script to draw the 3Dpolyline. Whatever your current layer, color, linetype settings are when you run it will determine those. No special LISP program necessary.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report