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.

image

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

image

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)

image

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.

free hit counters

Powered by Drupal, an open source content management system