diff --git a/src/Mod/Fem/femresult/resulttools.py b/src/Mod/Fem/femresult/resulttools.py index c6c9276224b6..a0e7362c1377 100644 --- a/src/Mod/Fem/femresult/resulttools.py +++ b/src/Mod/Fem/femresult/resulttools.py @@ -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()