Message 1 of 10

Not applicable
11-11-2020
01:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
AutoCAD Mechanical 2019
Is there a way to change the grid color (F7) and the luminance (options) using a LISP routine. I have a routine that changes the background color to white but I have not been able to find the grid color or the luminance.
(vl-load-com)
(setq disp (vla-get-display (vla-get-preferences (vlax-get-acad-object))))
(vla-put-GraphicsWinModelBackgrndColor disp 16777215)
(vla-put-GraphicsWinLayoutBackgrndColor disp 16777215)
Solved! Go to Solution.