Location of Assembly containing new Revit 2024 icons

Location of Assembly containing new Revit 2024 icons

schipmanU5A9G
Participant Participant
607 Views
3 Replies
Message 1 of 4

Location of Assembly containing new Revit 2024 icons

schipmanU5A9G
Participant
Participant

I have been using the icons from the UIFrameworkRes.dll located at C:\Program Files\Autodesk\Revit #### for use in my add-in. However, if you de-compile the version of this dll that comes with Revit 2024, it seems to still contain only the pre-2024 icons. Does anyone know where the new icons introduced in 2024 might be kept?

0 Likes
Accepted solutions (1)
608 Views
3 Replies
Replies (3)
Message 2 of 4

ricaun
Advisor
Advisor
Accepted solution

Still inside the UIFrameworkRes but in a different folder (ThemedImages) because of the light/dark theme.

 

The images in png for 16 and 32, each with light and dark theme.

 

Something like this:

Image: pack://application:,,,/UIFrameworkRes;component/Ribbon/ThemedImages/line_all_views_draw/line_all_views_draw_16_light.png
Image: pack://application:,,,/UIFrameworkRes;component/Ribbon/ThemedImages/line_all_views_draw/line_all_views_draw_32_light.png

Image: pack://application:,,,/UIFrameworkRes;component/Ribbon/ThemedImages/line_all_views_draw/line_all_views_draw_16_dark.png
Image: pack://application:,,,/UIFrameworkRes;component/Ribbon/ThemedImages/line_all_views_draw/line_all_views_draw_32_dark.png

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes
Message 3 of 4

schipmanU5A9G
Participant
Participant

Ah, but now I can no longer have a .ico which will automatically use a different size / theme color as appropriate...

 

0 Likes
Message 4 of 4

ricaun
Advisor
Advisor

Yes, Autodesk dropped the .ico for some reason inside Revit ribbon images.

 

Maybe in the future will be a .tiff file to support high resolution displays.

 

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes