Command icon names for add-ins

Command icon names for add-ins

TimPaterson
Enthusiast Enthusiast
662 Views
1 Reply
Message 1 of 2

Command icon names for add-ins

TimPaterson
Enthusiast
Enthusiast

I've written an add-in for Fusion 360 and included images for the icon on the command bar, with names like 32x32.png.  The documentation says that the name used when the command is selected is 32x32-dark.png; the example program doesn't have that, but it does have one named 32x32-pressed.png.  I provided images with both these names and neither one got used -- Fusion 360 simply put a blue background on the base image.

 

So, can Fusion 360 use a different icon when the command is selected, per the documentation?  If so, what name does it need to have?

663 Views
1 Reply
Reply (1)
Message 2 of 2

nnikbin
Collaborator
Collaborator

I ecountered the same issue. Restarting fusion solved the problem. It seems that Fusion needs a new session to detect the presense of -dark and -pressed images for commands which previously had only normal images. Even stopping and starting the command does not help.