You might wonder if there is a more straightforward way to control the Autosnap marker size without having to use DDOSNAP or OSNAP commands?
The size of the AutoSnap Marker is controlled by the AutoSnapSize variable. This variable is stored outside of AutoCAD, and can be accessed by using GETENV and SETENV. It's important to note that the case of the letters is important, therefore capitalize the name as shown. The following two LISP commands will retrieve the value of AutoSnapSize and then set it to 10 pixels.
(getenv "AutoSnapSize")
(setenv "AutoSnapSize" "10")