Custom colors

Custom colors

Anonymous
Not applicable
621 Views
3 Replies
Message 1 of 4

Custom colors

Anonymous
Not applicable

Hi There,

 

Does anybody know if and where I can access the customcolors in revit api ?

 

I want to change customcolor 1 in my own color. I can't find it in the API. I can alter the revit.ini file, but Revit only notices this change when i restart revit and I want to change it live.

 

 

0 Likes
622 Views
3 Replies
Replies (3)
Message 2 of 4

Joe.Ye
Alumni
Alumni

 

Hi Remy van den Bor

 

Do you mean to change the color in the option dialog, for instance, the selected object color? the preselected color...

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 4

Anonymous
Not applicable
In mean in the color dialog. THere you can set 16 custom colors. When you do this manually, the new colors are active immediatly. But I can't find this in the API. I can change the revit ini file, but this only works when I restart revit.
0 Likes
Message 4 of 4

Joe.Ye
Alumni
Alumni

 

I don't think there is a solution to validate your changes to the Revit.ini without restarting it. 

 

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes