Why Rhino.Inside has sharper Icon than Revit Original Ones?

Why Rhino.Inside has sharper Icon than Revit Original Ones?

GarethVolka
Observer Observer
415 Views
5 Replies
Message 1 of 6

Why Rhino.Inside has sharper Icon than Revit Original Ones?

GarethVolka
Observer
Observer

I noticed Rhino.Inside.Revit icons are crystal clear, even much higher resolution than all the blurry internal Revit icons. Whereas other plugins such as mine and RevitLookup feel more blurry than the Revit icons.

(I export to 32x32 ICO file at 96 DPI and show as RibbonButton.LargeImage)

 

(Below screenshots are heavily compressed by this website, so look inside your revit)

Capture1.JPGCapture2.JPG

 

How did Rhino.Inside.Revit manage to achieve that?

 

0 Likes
Accepted solutions (1)
416 Views
5 Replies
Replies (5)
Message 2 of 6

jeremy_tammik
Alumni
Alumni

Our is not to wonder why... ours is but to do or die... however, leaving the why's aside for the moment, have you had a look at the Autodesk Icon Design Guidelines.pdf included in the Revit SDK? They might provide some hints.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 6

GarethVolka
Observer
Observer

Anyone has a better answer?

0 Likes
Message 4 of 6

jeremy_tammik
Alumni
Alumni

Well, another efficient way to find an answer is to search for it yourself. Similar topics have been discussed here repeatedly in the past. For instance, you can search for things like "icon format":

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 5 of 6

ricaun
Advisor
Advisor
Accepted solution

Rhino uses a bigger size with bigger DPI to make the image show inside Revit with 32x32 with more pixels.

 

Here is the rhino.inside-revit pull request: Now all Ribbon PNG are 256x256 at 768.00 DPI

 

And a related post about scaling button icons.

 

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes
Message 6 of 6

GarethVolka
Observer
Observer

Amazing Thank you so much.

It works! That's really helpful. 

0 Likes