Set Highlight Colors using key-ins


  
 Applies To 
  
 Product(s):MicroStation V8, V8i
 Version(s):N\A
 Environment: N\A
 Area: GUI
 Subarea: General
 Original Author:Bentley Technical Support Group
  

Problem

In Settings > Design File, Category Color, three colors can be configured:
- Element Highlight Color
- Drawing Pointer Color
- Selection Set Color


How to configure these using key-ins?




Solution

Use preprocessor key-ins:

To enable different highlight colors for Element Highlight Color and - Selection Set Color:
"mdl keyin calculat calc tcb->selectionHiliteOverride=1"


To set the Element Highlight Color to yellow:
"mdl keyin calculat calc tcb->hiliteColor=6"



To set the Drawing Pointer Color to red:
"mdl keyin calculat calc tcb->xorColor=4"



To set the Selection Set Color to cyan:
"mdl keyin calculat calc tcb->selectionHiliteColor=3"




For the color numbers in the above three key-ins a number from 0 to 9 must be used:

0 black
1 blue
2 green
3 cyan
4 red
5 pink
6 yellow
7 white
8 light grey
9 dark grey



These settings are saved with the design file. File > Save Settings to keep the settings for the next MicroStation session.



See Also

MicroStation Product Communities

Other Language Sources

Deutsch