Recreate color palette dialog box

Recreate color palette dialog box

Anonymous
Not applicable
780 Views
2 Replies
Message 1 of 3

Recreate color palette dialog box

Anonymous
Not applicable

Hi all,

 

Question: is it posibble to recreate the color palette dialog box in revit like shown below?or just to make some changes on the existing revit color palette dialog box? if there is, where can i find the source code?

 

color.PNG

 

 

Thx

 

-Nik-

0 Likes
781 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

If posibble, i want to add one more button for my own color palette (figure below).

it will be same as Pantone but with difference color scheme.

 

color1.PNG

0 Likes
Message 3 of 3

jeremytammik
Autodesk
Autodesk

Dear Nik,

 

The Revit API does not provide access to this. You may be able to add some buttons to the existing implementation thorugh some unsupported and undocumented risky tricks making use of the Windows API.

 

There are lots of public domain colour dialogue implementations out there to choose from if you want to implement your won. However, I do not see how you can feasibly convince Revit to make use of your implementation to replace its own.

 

Seems like a pretty hard task to me.

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes