Not able to get pre selection and selection color

Not able to get pre selection and selection color

Anonymous
Not applicable
1,023 Views
2 Replies
Message 1 of 3

Not able to get pre selection and selection color

Anonymous
Not applicable

Hi All,

 

I am able to get back ground color of Application but I want to get selection color, Pre selection color that mark in below image . please suggest..

 

 

 

 

 Color.PNG

0 Likes
Accepted solutions (1)
1,024 Views
2 Replies
Replies (2)
Message 2 of 3

Revitalizer
Advisor
Advisor
Accepted solution

Hi,

 

you can get the values from the Revit.ini file:

 

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2018/EN...

 

BackgroundColor=16777215
HiliteColor=16739117
PreHiliteColor=11383052
ErrorColor=765684

 

I've modified some of my color values, so these are not the default colors.

 

 

Revitalizer

 

 




Rudolf Honke
Software Developer
Mensch und Maschine





Message 3 of 3

Revitalizer
Advisor
Advisor

Hi,

 

I think I can see the values because I have modified the colors.

 

[Revit.ini]
[Colors]
CustomColor1=000000
CustomColor2=0000ff
CustomColor3=00ffff
CustomColor4=00ff00
CustomColor5=ffff00
CustomColor6=ff0000
CustomColor7=ff00ff
CustomColor8=ffffff
CustomColor9=ffffff
CustomColor10=ffffff
CustomColor11=ffffff
CustomColor12=ffffff
CustomColor13=ffffff
CustomColor14=ffffff
CustomColor15=ffffff
CustomColor16=ffffff
BackgroundColor=16777215
HiliteColor=16739117
PreHiliteColor=11383052
ErrorColor=765684

 

May be that you only see that:

 

[Revit.ini]
[Colors]
CustomColor1=000000
CustomColor2=0000ff
CustomColor3=00ffff
CustomColor4=00ff00
CustomColor5=ffff00
CustomColor6=ff0000
CustomColor7=ff00ff
CustomColor8=ffffff
CustomColor9=ffffff
CustomColor10=ffffff
CustomColor11=ffffff
CustomColor12=ffffff
CustomColor13=ffffff
CustomColor14=ffffff
CustomColor15=ffffff
CustomColor16=ffffff

In this case, the default color values are used.

Their exactly numeric representation can be calculated from the RGB values you see in the color picker dialog.

 

 

Revitalizer

 




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes