@MRWakefield wrote:
Yes, at least I expect that to be the case for >90% of the time. I'm thinking that the first time you export a particular design it would prompt the user for a 'root' folder and subsequent exports of that design would no longer prompt. If you then export a different design it would again prompt (if it were the first time exporting this design) with subsequent exports (of this design) not prompting.
Okey - I can easily change the code that way, that you don't have to define a base directory in the defaults editor. That way you would be ask (and forced) to define an export directory if you call the export design process. That way the export directory will be handled like all the other configuration changes and you can store it in the design. If you do so, you will not be asked on the next export of this design (but on new designs).
@MRWakefield wrote:
I've not done much coding for Fusion so I'm not very familiar with what can and can't be done so it might not be possible to implement it in the way I've described, but hopefully you get the general idea.
The API does not offer a simple button. Actions based on a "click" have to be solved differently, and that usually doesn't feel very natural.
The current implementation allows you to empty the field Export Directory, leave the field and the directory dialog will be displayed again. The only problem right now is that the new directory will not be shown in the but used in the process. I'm not sure if this is a bug in the API, the framework or in my add-in, but I'm sure I'll solve the problem at some point 😉
Another solution could be, that I could add a checkbox labeled Reset export directory on export, that will show the dialog if you start the export. I'm not sure if I would store this flag in the design settings but I'm having a tendency to not store this flag.
These changes would not destroy my workflow and I think they would solve your problem. Or am I wrong?