Is there a command line OSNAP toggle to turn it on/off, to replace F3? Thanks,
Read up on the OSMODE system variable. Changing its value be 16384 is equivalent to pressing F3 (adding it if OSMODE is less than that turns running Osnap off without changing the combination of settings, subtracting it if it's more than that turns running Osnap on). You can toggle it with something like this: (if (> (getvar "OSMODE") 16383) (setvar "OSMODE" (- (getvar "OSMODE") 16384)) (setvar "OSMODE" (+ (getvar "OSMODE") 16384)) )