The attached lisp selects all closed polylines in a drawing and for each one writes a line in a file (list of coordinates in form Y,X or north,east). I would like to modify it to repeat the first point at the end of each line.
For example, in a drawing with 2 closed polylines, the output looks like this:
300,500 300,550 250,550 250,500
300,700 300,750 250,750 250,700
end of file
And I would like it to look like this:
300,500 300,550 250,550 250,500 300,500
300,700 300,750 250,750 250,700 300,700
end of file
Thank you!