You are currently reviewing an older revision of this page.
How can the Active Color be defined as RGB colors using a keyin.
To set the active color through a keyin you just use this string: ACTIVE COLOR RGB:>red,green,blue<
Like: ACTIVE COLOR RGB:150,200,250 … also the old-school keyin works: co=RGB:150,200,250
microStation VBA you can get strange results Recording color settings in the VBA macro-recorder (Utilities>Macro>Projectmanager…) produces results that may not work as desired.. Replacing the recorded string by
CadInputQueue.SendCommand "co=RGB:150,200,250"
you get a correct RGB setting.
BTW. You also can use the colors from a color book. e.g. ACTIVE COLOR RAL CLASSIC 840-HR:1006
(it may be the easiest way find out the key-in to apply a value to an element and then obtain it from the element info)
Product TechNotes and FAQs
Deutsch
Bentley LEARN Server
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!