Wie kann man die aktive Farbe als RGB Farben mit einer Tastatureingabe einstellen


 Produkt(e):MicroStation
 Version(en):08.11.09.833
 Umgebung:N\A
 Produktbereich:Basisgeometrie
 Produktunterbereich:N\A

Problem

Wie kann man die aktive Farbe als RGB Farben mit einer Tastatureingabe einstellen



Problemlösung

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)



Sehen Sie hierzu auch

XXXXXXX(Add more links as needed for other relevant Be Communities content.)XXXXXXX

Englischsprachige Quelle

How to set the active color as RGB Colors by keyin