Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Osmode Bit that toggles off the running snaps...

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
mdhutchinson
750 Views, 4 Replies

Osmode Bit that toggles off the running snaps...

What is the osmode bit that toggles off the running snaps... but leaves the underlying user running snaps settings un-effected?

4 REPLIES 4
Message 2 of 5
pbejse
in reply to: mdhutchinson

Not sure ...  16384

Message 3 of 5
Kent1Cooper
in reply to: mdhutchinson


@mdhutchinson wrote:

What is the osmode bit that toggles off the running snaps... but leaves the underlying user running snaps settings un-effected?


Yes, it's 16384 [it's right there in Help for the OSMODE System Variable].  The following is effectively the same as hitting F3 to toggle running Osnap on or off [whatever it isn't currently] without changing the combination of modes:

 

(setvar 'osmode (boole 6 (getvar 'osmode) 16384))

Kent Cooper, AIA
Message 4 of 5
mdhutchinson
in reply to: mdhutchinson

Thanks!  That is exactly what I needed.

Message 5 of 5
Kent1Cooper
in reply to: mdhutchinson


@mdhutchinson wrote:

Thanks!  That is exactly what I needed.


You're welcome.  I didn't look, since I knew a quickie answer, but I suspect the same question has come up here before....

Kent Cooper, AIA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost