For things like this you are better asking over at CadTutor.
There are already Lee Mac lisp routines there to extract ordinates and write them to text.
Or you could go direct to Lee's website where no doubt there will be what you need: http://www.lee-mac.com/
Maybe this one: http://www.lee-mac.com/ptmanager.html
On the Cadtutor Forum have a look at these:
https://www.cadtutor.net/forum/topic...-from-a-point/
https://www.cadtutor.net/forum/topic...lee-mac-lisps/
If it's not quite what you want then ask there and somebody will have what you want or can modify one for you.
(Maybe even Lee himself, he is active on there).
Last edited by NukeCad; 24-11-2021 at 08:20 AM.
Im intelligent enough to know that I dont know everything; but I'll tell you all about it anyway.