Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using Dropdowns in a Plugin

Message 1 of 2
117 Views, 1 Reply

Using Dropdowns in a Plugin



I am working on a plugin that involves creating a dropdown menu with a list of file names. The main objective is to enable users to select an item from the dropdown and then proceed by clicking the "Ok" button, just like a ui.selectEntity box.

While exploring the available documentation, I have come across several dropdown examples. However, it appears that each of them necessitates an event handler to facilitate the plugin's response when a specific item from the list is chosen. I am hoping to find a simpler way of implementing this.

I would appreciate any guidance or assistance you can provide to implement this functionality.


Thanks in advance!

Message 2 of 2



Only one command execute handler is defined to handle the OK action of a command, and you will have access to all command inputs defined on it.

Optionally you have other events to be fired w

hile dealing with the command inputs inside the command, like: input changed, validate input, mouse click, and other.

The arguments passed to every handler give access to the current status of the command.


I'd recommend reading this article:



Jorge Jaramillo


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report