I am working on one of my LISP routines and I have a point where I let the user use a particular command. What I need to know is how do I determine if the user picked a point or not during the command.
Here is an examaple of what I am trying to do:
(if initcommandversion (initcommandversion 2))
(command "._revcloud" "_S" "_N" "_M" Pt1)
(while (= 1 (logand (getvar 'CMDACTIVE)))
(princ (strcat "\nSpecify next point [Undo] <Enter " ExTxt ">: "))
(command pause)
(setq ExTxt "or C to Finish")
);End While
;Below is what I do not know how to do:
;If enter was pressed, do this....
;If point was picked, do this.....
Please note the following restriction:
Cannot use an Visual Lisp (so, nothing that starts with VLA or VLAX) because it needs to be compatible with Windows and Mac.