From b25f7f42fb8ff02f81966b676a843f540462817e Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 27 Apr 2020 10:40:58 +0200 Subject: [PATCH] FEM: elmer tasks, fix result and output creation --- src/Mod/Fem/femsolver/elmer/tasks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Fem/femsolver/elmer/tasks.py b/src/Mod/Fem/femsolver/elmer/tasks.py index d7a5bcc016ca..d0c5c8da07f8 100644 --- a/src/Mod/Fem/femsolver/elmer/tasks.py +++ b/src/Mod/Fem/femsolver/elmer/tasks.py @@ -127,8 +127,11 @@ def _createOutput(self): self.solver.ElmerOutput = self.analysis.Document.addObject( "App::TextDocument", self.solver.Name + "Output") self.solver.ElmerOutput.Label = self.solver.Label + "Output" - self.solver.ElmerOutput.ReadOnly = True + # App::TextDocument has no Attribute ReadOnly + # TODO check if the attribute has been removed from App::TextDocument + # self.solver.ElmerOutput.ReadOnly = True self.analysis.addObject(self.solver.ElmerOutput) + self.solver.Document.recompute() class Results(run.Results):