Message 1 of 1
Using dropdown command inputs to alter the format of ui boxes

Not applicable
03-02-2020
02:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.