Selection highlighting in AutoCAD
Starting in AutoCAD 2006, you can specify a highlight color and opacity to your selection areas as illustrated by the green area shown in the example below.

Below is a description of these options and how to change them.

If you want to go through the OPTIONS dialog, open it up and switch to the Selection tab. Click on the Visual Effect Settings button. Everything you need to control is there on the right half of this dialog, shown above.
If you want to change these options with code or a macro, here are the system variable names to do that.
- SELECTIONAREA - turns this feature off (0) or on (1).
- WINDOWAREACOLOR - sets the color used during a window selection (1-255)
- CROSSINGAREACOLOR - sets the color used during a crossing window selection (1-255)
- SELECTIONAREAOPACITY - determines the amount of transparency used by the selection area colors (0-100)

Here is an example of setting these variables using lisp
(setvar "selectionarea" 1) (setvar "windowareacolor" 30) (setvar "crossingareacolor" 51) (setvar "selectionareaopacity" 30)
All content is copyright © CAD PANACEA 2005-2011 unless otherwise noted.
All content of CAD PANACEA is solely my own personal thoughts and opinions and do not those of any other entity or person.
All comments posted to this blog are the sole responsibility of the person making the comment.
Google, as a third party vendor, uses cookies to serve ads on this site. Google's use of their cookies enables it to serve ads to users based on their visit to your sites and other sites on the Internet. You may opt out of the use of these cookies by visiting the Google ad and content network privacy policy.

Recent comments
1 day 13 hours ago
1 day 16 hours ago
2 days 17 hours ago
4 weeks 2 days ago
7 weeks 1 day ago
7 weeks 1 day ago
7 weeks 1 day ago
7 weeks 1 day ago
12 weeks 22 hours ago
12 weeks 2 days ago