Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom colors

3 REPLIES 3
Reply
Message 1 of 4
R.van.den.Bor
501 Views, 3 Replies

Custom colors

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.

 

 

Kind regards,
Remy van den Bor
ICN Solutions B.V.
Liked this post or found it usefull, don't forget the Kudo It won't hurt (at least not me).
3 REPLIES 3
Message 2 of 4
Joe.Ye
in reply to: R.van.den.Bor

 

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
Message 3 of 4
R.van.den.Bor
in reply to: Joe.Ye

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.
Kind regards,
Remy van den Bor
ICN Solutions B.V.
Liked this post or found it usefull, don't forget the Kudo It won't hurt (at least not me).
Message 4 of 4
Joe.Ye
in reply to: R.van.den.Bor

 

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community