home *** CD-ROM | disk | FTP | other *** search
-
- Changing the AutoCAD driver default colors for the
- VGA AutoCAD 256 color mode: 5C (800x600x256)
- or 256 color mode: 60 (1024x768x256)
- ________________________________________________
-
- The program SETC 256 allows the user to change the 256 default AutoCAD
- colors. The program will initially display the default 16 colors and permit
- the user to selectively change each color by altering their RGB values.
- Colors above index 15 are selected by the INSERT key. This will display
- the color in the upper left of the screen. The left & right arrow keys
- select the index. When the color for that index is what is desired, press
- the ENTER key. This will mark it to be written to the RGB.256 file, the word
- "Written" will be displayed and the arrows will go to index 15. If you just
- want to look at the color, use the left and right arrows to the desired
- index. If you don't want to write that color to the file, press the ESCAPE
- key. That index won't be "Written" and the arrows will go to index 15.
- When the user is done defining the desired colors, the ENTER key will cause
- the program to save the RGB values for indices 0 through 15 and those that
- were "Written" (for index > 15) for the driver by writing these values to a
- file called RGB.256.
-
- SETC 256 should be run in the same directory that AutoCAD was installed
- in. This is the directory where the driver will look for the file RGB.256
- when AutoCAD is started. If the driver cannot find the RGB.256 file, it
- will use the default AutoCAD colors.
-
- Format for the file: RGB.256
- -----------------------------
- RGB.256 is a text file with at least 16 lines, up to 256 lines. Each line
- has 4 decimal values on it. The first value is the index (from 0 to 255).
- The next value is the intensity for RED (0 to 63).
- The next value is the intensity for GREEN (0 to 63).
- The last value is the intensity for BLUE (0 to 63).
- Each line ends with a carriage return.
-
- The first 64 default values are:
-
- N R G B N R G B N R G B N R G B
- ----------- ----------- ----------- -----------
- 0 0 0 0 16 31 0 0 32 50 24 0 48 28 21 0
- 1 63 0 0 17 31 15 15 33 50 37 25 49 28 24 14
- 2 63 62 0 18 28 0 0 34 40 20 0 50 63 62 0
- 3 0 63 0 19 28 14 14 35 40 30 20 51 63 62 31
- 4 0 63 63 20 63 14 0 36 31 15 0 52 50 49 0
- 5 0 0 63 21 63 38 31 37 31 23 15 53 50 50 25
- 6 62 0 63 22 50 11 0 38 28 13 0 54 40 40 0
- 7 63 63 63 23 50 31 25 39 28 21 14 55 40 40 20
- 8 23 23 23 24 40 9 0 40 63 47 0 56 31 30 0
- 9 31 0 0 25 40 25 20 41 63 55 31 57 31 31 15
- 10 63 47 31 26 31 7 0 42 50 37 0 58 28 27 0
- 11 0 31 0 27 31 19 15 43 50 44 25 59 28 27 14
- 12 0 40 40 28 28 6 0 44 40 30 0 60 47 63 0
- 13 20 30 40 29 28 17 14 45 40 35 20 61 55 63 31
- 14 37 25 50 30 63 31 0 46 31 23 0 62 38 50 0
- 15 48 48 48 31 63 47 31 47 31 27 15 63 44 50 25
-
- The rest of the values may be found by running AutoCAD, then running
- SETC 256 and reading the values of indices 64 thru 255.
-
-
- Changing the AutoCAD driver default colors for
- VGA AutoCAD 16 color drivers - ver 1.11 and above
- __________________________________________________
-
- The program SETC 16 allows the user to change the 16 default
- AutoCAD colors. The program will display the default 16 colors and
- permit the user to selectively change each color by altering their
- RGB values. When the user is done defining the desired colors, the
- ENTER key will cause the program to save the RGB values for the
- driver by writing the values to a file called RGB.16.
- SETC 16 should be run in the same directory that AutoCAD was
- installed in. This is the directory where the driver will look for
- the file RGB.16 when AutoCAD is started. If the driver cannot find
- the RGB.16 file, it will use the default AutoCAD colors.
-
-
- Format for the file: RGB.16
- ----------------------------
-
- RBG.16 is a text file with 16 lines. Each line has 5 characters on it:
- 3 digits separated by 2 spaces.
- The digits represent color intensities and can be values of: 0,1,2 or 3
- the first digit is the intensity of Red
- the second digit is the intensity for Green
- the third digit is the intensity for Blue.
- Each line represents a color index. The first line represents index 0.
- The 16th line represents index 15.
- Each line (including line 16) ends with a carriage return.
- R G B─┘
-
- 16 colors default
-
- 0 0 0
- 3 0 1
- 3 3 0
- 1 3 1
- 0 3 3
- 1 1 2
- 3 0 3
- 3 3 3
- 1 1 1
- 3 0 0
- 2 1 0
- 0 2 0
- 1 2 2
- 0 0 3
- 2 0 2
- 2 2 2
-
- The program SETC 4 allows the user to change 4 of the 16 default
- AutoCAD colors. The program will display the default 4 colors and
- permit the user to selectively change each color by altering their
- RGB values. When the user is done defining the desired colors, the
- ENTER key will cause the program to save the RGB values for the
- driver by writing the values to a file called RGB.4.
- SETC 4 should be run in the same directory that AutoCAD was
- installed in. This is the directory where the driver will look for
- the file RGB.4 when AutoCAD is started. If the driver cannot find
- the RGB.4 file, it will use the default AutoCAD colors.
-
- In the 4 Colors mode, only the first 4 are defined. Any index above 3 must
- be one of the first 4 colors.
- The file should be on the directory where you execute Autocad. If the file
- is not there, the driver will use the default values. Those values are:
-
- 4 colors default
-
- 0 0 0
- 3 0 0
- 0 0 3
- 3 3 3
- 3 0 0
- 0 0 3
- 3 0 0
- 3 3 3
- 3 0 0
- 3 0 0
- 3 0 0
- 0 0 3
- 3 0 0
- 0 0 3
- 3 0 0
- 3 3 3
-
- You must use the program: SETC 4 to set the colors and make RGB.4
- For the 4 colors driver you may not have over 4 distinct colors set.
- If you do, the driver will reject the RGB.4 file, and use the default set.
-
-
-
-