question

royjuventus29 avatar image
0 Likes"
royjuventus29 asked Jordan Johnson answered

Create a folder browse dialog in script

I would like to use script to create a folder browse dialog, then manually choose a relevant folder on the dialog and generate a file into this folder. Is it possible to create this folder browse dialog in script? Thank you!

FlexSim 22.2.4
flexsim script
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

I think you are looking for the getdirbrowse() function:
https://docs.flexsim.com/en/24.0/Reference/CodingInFlexSim/CommandReference/Commands.html#getdirbrowse

Note that you need to pass a node with string data in. The node will be set to the directory the user chooses.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.