Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Bug Report: API .addDropDown method not populating menu icon inside linearMarkingMenu or radialMarkingMenu

OceanHydroAU
Collaborator

Bug Report: API .addDropDown method not populating menu icon inside linearMarkingMenu or radialMarkingMenu

OceanHydroAU
Collaborator
Collaborator

All "slide-out" menus in Fusion right-click UI operations are not showing any icons.

 

Identical menus work fine everywhere else (e.g. when they're inside buttons or other dropdowns), but never for the  linearMarkingMenu or radialMarkingMenu menus.

 

I expect this is a mistake someplace in your code which handles the usage of the (required) "resourceFolder" name which gets passed in as the second parameter to this method.

 

Example - icons missing from right-click:

pic_2024-04-12_17.28.52_529.png

(Notice that this also affects your own native menu options as well - e.g. "Opacity Control" is also missing an icon)

 

Example 2 - Icons showing OK everywhere else:

pic_2024-04-12_17.33.26_530.png

 

0 Likes
Reply
223 Views
1 Reply
Reply (1)

BrianEkins
Mentor
Mentor

I tried reproducing this, and it's working. You can see the new drop-down menu I created in the linear context menu. I used a custom command and a standard command, both of which show their associated icon.

BrianEkins_0-1714172053405.png

I've attached my test program so you can try it, see if it works, and then look to see what's different with your case.

 

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes