In past versions of Acad you could do:
(VLA-GET-AUTOSNAPMARKERCOLOR (VLA-GET-DRAFTING (VLA-GET-PREFERENCES (VLAX-GET-ACAD-OBJECT))))
But now in 2008 (maybe also in 2007) these colors are separated per layout and other spaces. I.E. 2D ModelSpace, Layouts, 3D Parallel, etc....
So when I change my AUTOSNAPMARKERCOLOR for 2D Model Space to something other then the default and run the above code, I still get 31.
Does anyone know where the AUTOSNAPMARKERCOLOR is stored for 2D Model Space?