Skip to content

Commit

Permalink
FEM: Update resulttools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FEA-eng authored Dec 6, 2024
1 parent f8cec61 commit 9c3eef0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Mod/Fem/femresult/resulttools.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ def purge_results(analysis):
analysis.Document.removeObject(m.Name)
analysis.Document.recompute()

# output text object
# text object
for m in analysis.Group:
if is_of_type(m, "App::TextDocument") and (
m.Name.startswith("ccx_dat_file") or m.Name.startswith("SolverElmerOutput")
):
if is_of_type(m, "App::TextDocument"):
analysis.Document.removeObject(m.Name)
analysis.Document.recompute()

Expand Down

0 comments on commit 9c3eef0

Please sign in to comment.