How to retrieve solver files folders from Project page scripting console?

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

How to retrieve solver files folders from Project page scripting console?

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 414
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    Answer ✓
    Options
    import os
    result_files = filter(lambda x: ("file.rst" in x), GetAllFiles())
    all_design_point_paths = list(set([os.path.dirname(result_file) for result_file in result_files]))