Display full version of the post: Quickly enable all SNAP - AutoCAD

deoogo
31.03.2023, 20:55
Hello, everyone.I would like to know if there is any way to enable, through the CUI, all AutoCAD snaps at once. I waste a lot of time re-enabling snaps, because my lisp disables them all whenever I need to use it. Tks.

Vladimir Michl
01.04.2023, 14:09
Create a new command to set OSMODE to 16383 (all "on"):OSMODE;16383;

Kent Cooper
03.04.2023, 17:50
Your AutoLisp file(s) can [SHOULD] be edited to do what is standard in well-written routines, that is, to save the OSMODE setting at the beginning, do whatever it does, and reset OSMODE at the end.  Then you can have some combination of modes other than everything when that's what you want, and that will be what is restored for you.But in any case, I would strongly suggest that you do not turn on all modes for running Osnap.  Leave out NEArest.  It will almost always "win" over other modes that you may intend, often giving undesired results.