Drawing polyline from file

Discussion of other Lisp dialects (Arc, Clojure, AutoLisp, XLISP, etc.)
Post Reply
maczinc
Posts: 1
Joined: Tue Aug 23, 2016 3:25 am

Drawing polyline from file

Post by maczinc » Wed Aug 24, 2016 3:30 am

Hi everyone,
I have a txt file which contains the coordinates of one polyline written in just one line, like this:
215.215 2154.2 144.213 2352.235 201.1 2354.32 ...
How can I read each number in order to draw that polyline?
Note: the coordinates line alternate between the X coordinate and Y coordinate.
Thank for your seggestions.

Post Reply