Thank you for your replies.
Yes I do need to spend a bit of time localising variables on the lisp, thanks for the tips.
I do not need to capture the coords using 'getpoint', I'm hoping to find a way of getting over a point cloud snapping limitation with lisp.
I can snap to the point cloud using the native autocad 'point' command, is there a way then to get hold of the coordinates of this point to feed into the lisp?
Currently I have to draw the point using the point command, then run 'inspl.lsp' and then pick the previously drawn point. I would love to be able to streamline this so that only one pick is required for the same outcome.
Here is a screencast that illustrates the issue, having to pick twice, I would like to have the same outcome but only pick once.
https://autode.sk/34n9nRtAnd the drawing file is attached.
Thank you
P