How do I archive WB project without results using scripting?

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

I want to archive my WB project using scripting but using the Archive() method archives the project with result files. How can I archive it without results (.rst file etc.)?

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

    The boolean argument IncludeSkippedFiles does the trick. If set to False the archived project doesn't include the result files (.rst etc.). Example usage:

    Archive(FilePath="\Path\to\my\test.wbpz", IncludeSkippedFiles=False)