TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dwaschnia on October 20, 2022, 10:52:42 AM

Title: getpoint osnap issue
Post by: dwaschnia on October 20, 2022, 10:52:42 AM
If I copy the following code into the command line, the osnaps work as usual: (setq p2 (trans (getpoint "Second point: ") 1 0))
But if I put the same code into a lisp my osnaps aren't active.

Anyone know why that is and how I can fix it?
I'm using Bricscad, if that makes a difference.
Title: Re: getpoint osnap issue
Post by: dwaschnia on October 20, 2022, 11:17:01 AM
Nevermind, I'm retarded and forgot that I deactivate the osnaps farther up the lisp.