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

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 467
100 Answers 250 Likes 100 Comments Second Anniversary
✭✭✭✭
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: 467
    100 Answers 250 Likes 100 Comments Second Anniversary
    ✭✭✭✭
    Answer ✓
    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]))