Tom von Alten
03-24-2003, 01:28 PM
After tweaking colors and making a viewport with a white background, in order to create a more readable screen dump bitmap, I figured I should put that stuff in a macro so that it would be handy for next time.
The color controls are such that "everything" is divided into
HATCH
DIMENSIONS (but only in the current part, see below)
Everything else
Based on the basic 8-color map and the way I usually work, I picked the following combinations (imagine it in two tab-aligned columns):
Background: BLACK, WHITE
DIMENSIONS: GREEN, BLUE
HATCH + Everything else:
WHITE, BLACK
BLUE, GREEN
RED, YELLOW
MAGENTA, CYAN
For some strange reason, dimensions can only be selected in the current part. (ENHANCEMENT REQUEST!!) I suppose I could loop through the part tree, but since I've never coded such a thing, this wouldn't be quick and dirty any more.
If you don't like the color transformation, it should be clear enough how to write in your own in the last 2 of the following 3 macros. Make sure you change both so that you have reversible functions.
Enjoy. (Oh and SAVE YOUR WORK before you try these, "just in case.")
____________
Tom von Alten
DEFINE Swap_color { Global color swap for background color changing }
PARAMETER Oldc
PARAMETER Newc
CHANGE_COLOR Newc SELECT GLOBAL Oldc CONFIRM
CHANGE_HATCH_COLOR Newc SELECT GLOBAL Oldc CONFIRM
END_DEFINE
DEFINE White_background { "Dark" colors on a white background }
Swap_color WHITE BLACK
Swap_color GREEN BLUE
Swap_color YELLOW RED
Swap_color CYAN MAGENTA
CHANGE_DIM_COLOR BLUE SELECT ALL CONFIRM
CHANGE_DIM_TEXT_COLOR BLUE SELECT ALL CONFIRM
CHANGE_VIEWPORT_COLOR WHITE
END_DEFINE
DEFINE Black_background { "Regular" colors on a black background }
Swap_color BLACK WHITE
Swap_color BLUE GREEN
Swap_color RED YELLOW
Swap_color MAGENTA CYAN
CHANGE_DIM_COLOR GREEN SELECT ALL CONFIRM
CHANGE_DIM_TEXT_COLOR GREEN SELECT ALL CONFIRM
CHANGE_VIEWPORT_COLOR BLACK
END_DEFINE
The color controls are such that "everything" is divided into
HATCH
DIMENSIONS (but only in the current part, see below)
Everything else
Based on the basic 8-color map and the way I usually work, I picked the following combinations (imagine it in two tab-aligned columns):
Background: BLACK, WHITE
DIMENSIONS: GREEN, BLUE
HATCH + Everything else:
WHITE, BLACK
BLUE, GREEN
RED, YELLOW
MAGENTA, CYAN
For some strange reason, dimensions can only be selected in the current part. (ENHANCEMENT REQUEST!!) I suppose I could loop through the part tree, but since I've never coded such a thing, this wouldn't be quick and dirty any more.
If you don't like the color transformation, it should be clear enough how to write in your own in the last 2 of the following 3 macros. Make sure you change both so that you have reversible functions.
Enjoy. (Oh and SAVE YOUR WORK before you try these, "just in case.")
____________
Tom von Alten
DEFINE Swap_color { Global color swap for background color changing }
PARAMETER Oldc
PARAMETER Newc
CHANGE_COLOR Newc SELECT GLOBAL Oldc CONFIRM
CHANGE_HATCH_COLOR Newc SELECT GLOBAL Oldc CONFIRM
END_DEFINE
DEFINE White_background { "Dark" colors on a white background }
Swap_color WHITE BLACK
Swap_color GREEN BLUE
Swap_color YELLOW RED
Swap_color CYAN MAGENTA
CHANGE_DIM_COLOR BLUE SELECT ALL CONFIRM
CHANGE_DIM_TEXT_COLOR BLUE SELECT ALL CONFIRM
CHANGE_VIEWPORT_COLOR WHITE
END_DEFINE
DEFINE Black_background { "Regular" colors on a black background }
Swap_color BLACK WHITE
Swap_color BLUE GREEN
Swap_color RED YELLOW
Swap_color MAGENTA CYAN
CHANGE_DIM_COLOR GREEN SELECT ALL CONFIRM
CHANGE_DIM_TEXT_COLOR GREEN SELECT ALL CONFIRM
CHANGE_VIEWPORT_COLOR BLACK
END_DEFINE