ACT Property to select file / folder

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 389
First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
edited June 2023 in Structures

ACT Property to select file / folder.

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 389
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    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: 199
    First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
    Answer ✓

    my_directory=ExtAPI.UserInterface.UIRenderer.ShowFolderOpenDialog()