This topic is not related to any code. I would just like to ask about the effect of icon sizes in PyRevit. I have noticed that we cannot use icons larger than 96x96, but it seems that all icons are smaller than that size, and I don’t see any difference between them.
By the way, could you please let me know what the best icon size to use is?
To add to this if it’s anything like C# then I can confirm 96dpi, 32px for LargeImage and 16px for Image property of buttons is definitely the one that works best in my experience.
In pyRevit I have also noticed errors for using 96 and 48dpi, I believe it relates to something at a system/computer level as we haven’t been able to underpin the cause. Could be memory/buffer related potentially when the image is being read/converted to ImageSource for RevitAPI. Haven’t seen it in C#, so I’d guess it relates to the Python approach to converting the images.