ACT Property to select file / folder

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 442
250 Likes Solution Developer Community of Practice Member Ansys Employee First Anniversary
✭✭✭✭
edited June 2023 in Structures

ACT Property to select file / folder.

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 442
    250 Likes Solution Developer Community of Practice Member Ansys Employee First Anniversary
    ✭✭✭✭
    Answer ✓
    <!-- File Open -->
    <property name="filename" caption="Input file " control="fileopen"/>
    <!-- FolderOpen -->
    <property name="WorkingDirectory" caption="Working Directory " control="folderopen"/>
    
  • M
    M Member, Employee Posts: 235
    100 Comments Photogenic 5 Likes Name Dropper
    ✭✭✭✭
    Answer ✓

    my_directory=ExtAPI.UserInterface.UIRenderer.ShowFolderOpenDialog()