From 9f2d325ea0846c4fa02eea6d2f3182bdf4f4301c Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 4 Jun 2020 00:09:47 +0200 Subject: [PATCH] FEM: ccx tools task panel, add comment --- src/Mod/Fem/femtaskpanels/task_solver_ccxtools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Fem/femtaskpanels/task_solver_ccxtools.py b/src/Mod/Fem/femtaskpanels/task_solver_ccxtools.py index bd469eefbd..97e8e5f66a 100644 --- a/src/Mod/Fem/femtaskpanels/task_solver_ccxtools.py +++ b/src/Mod/Fem/femtaskpanels/task_solver_ccxtools.py @@ -59,6 +59,10 @@ class _TaskPanel: from femtools.ccxtools import CcxTools as ccx # we do not need to pass the analysis, it will be found on fea init + # TODO: if there is not analysis object in document init of fea + # will fail with an exception and task panel will not open + # handle more smart by a pop up error message and still open + # task panel, may be deactivate write and run button. self.fea = ccx(solver_object) self.fea.setup_working_dir() self.fea.setup_ccx()