Osnaps in LISP
Osnaps in LISP
(OP)
Greetings all,
In my lisp I'm trying to grab a corner of a box using endpoint osnap:
(setq pt1 (osnap (getpoint "\nSELECT LOWER RIGHT CORNER:") "endp"))
The getpoint works but it doesn't prompt for the endpoint. Any suggestions?
Thanks,
Keith
In my lisp I'm trying to grab a corner of a box using endpoint osnap:
(setq pt1 (osnap (getpoint "\nSELECT LOWER RIGHT CORNER:") "endp"))
The getpoint works but it doesn't prompt for the endpoint. Any suggestions?
Thanks,
Keith
RE: Osnaps in LISP
If you want just the 'endpoint' snap active when user selects, you could set the snap just before tht line, as in:
(setvar "osmode" 1);;or whatever endpt is
then you should restore osmode to original setting
RE: Osnaps in LISP