How to execute the "Open Project Files Directory" command in a script

Akane Ito
Akane Ito Member Posts: 37
10 Comments 5 Likes Name Dropper
**

Answers

  • Chris Harrold
    Chris Harrold Member, Administrator, Employee Posts: 183
    100 Comments 5 Answers First Anniversary Ansys Employee
    admin

    @AKD-Scripting-Team - another customer for your scripting goodness!

  • av
    av Member Posts: 10
    First Comment
    **

    Hello Akane Ito,

    you can try the following:

    import os
    os.startfile(ExtAPI.DataModel.Project.ProjectDirectory)

    Best Regards,
    av

  • Akane Ito
    Akane Ito Member Posts: 37
    10 Comments 5 Likes Name Dropper
    **

    Dear av
    Thank you. You were a great help.