Create a folder browse dialog in script

Create a folder browse dialog in script

jiaqzhao
Not applicable
95 Views
1 Reply
Message 1 of 2

Create a folder browse dialog in script

jiaqzhao
Not applicable

[ FlexSim 22.2.4 ]

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!

0 Likes
Accepted solutions (1)
96 Views
1 Reply
Reply (1)
Message 2 of 2

JordanLJohnson
Autodesk
Autodesk
Accepted solution

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

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

.


Jordan Johnson
Principal Software Engineer
>

0 Likes