From 9c3eef03dc92a26aec3a4eaeb6efa9ec44f622f9 Mon Sep 17 00:00:00 2001 From: FEA-eng <59876896+FEA-eng@users.noreply.github.com> Date: Fri, 6 Dec 2024 22:15:20 +0100 Subject: [PATCH] FEM: Update resulttools.py --- src/Mod/Fem/femresult/resulttools.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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()