progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#2165 by AussieThai
Wed Jun 18, 2014 7:37 pm
I have polyline file expressed as a series of straight segments joined sequentially by arcs of differing radii. i.e a CSV file with the following columns:

Start E, Start N, End E, End N, Type (Straight or Arc), Centre E, Centre N, Radius

As very much an amateur at CAD, I'm wondering the best way to import this (from Excel?) into ProgeCad.

Can anybody help please?

#2166 by caddit
Mon Jun 23, 2014 6:33 am
Welcome AussieThai,


You would have to export the spreadsheet into a CSV text file.


Then, similar to AutoCAD, you would need to write an AutoLISP script tailored to your CSV format to read it in and generate the polylines.


Please see the discussion over on the Autodesk forum for an example of what could be involved:
http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Lisp-to-draw-polyline-from-xls-csv-or-txt-file/td-p/2361985