Community
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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using dropdown command inputs to alter the format of ui boxes

0 REPLIES 0
Reply
Message 1 of 1
joe_palmer
167 Views, 0 Replies

Using dropdown command inputs to alter the format of ui boxes

Hi,

 

A question about general program logic here. The standard Extrude feature in Fusion 360 asks the user to set a "Direction" for the Extrude feature. Depending on which option the user picks, the whole layout of the ui box changes. Is is possible to achieve something similar in a script?

 

The "SpurGear" script sample does someting similar by altering the required user inputs depending on whether they select an English or Metric Gear.

 

My thoughts are that the program must ether detect a change in this dropdown command input, or it must be looping to constantly read the value of this command input and re-drawing the ui. At present I can't think how I could implment either method. Any help would be appreciated.

 

spur1.pngspur2.pngextrude1.JPGextrude2.JPGextrude3.JPG

0 REPLIES 0

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