[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
TOGGLE OSNAP
Tip# 1790 By Mark Johnston On 01-Apr-2002
5
Rated By 1 users Downloaded : 472
Categories : CUI (Customize User Interface)
Software type : AutoCAD
Rename File To : Tip1790: TOSNAP.LSP
A routine to toggle your snap settings off and on, remembering the previous settings.

A routine to toggle your snap settings off and on, remembering  the previous settings.

 

Average Rating:
5


User comments
Comment by Cooper,Kent
Posted on 2016-11-30 14:33:35
Yes, it's a VERY old post, and may have been hot stuff at the time, but the F3 key has long accomplished the same. But if you need it in a defined command for some reason, there's a much more concise way to do it: (defun C:TOSNAP () (setvar 'osmode (boole 6 16384 (getvar 'osmode))))