FEM: ccx tools task panel, do not run solver with no or wrong ccx binary

This commit is contained in:
Bernd Hahnebach
2021-08-03 07:36:04 +02:00
committed by GitHub
parent 9813e10d8c
commit 1b63b613de

View File

@@ -356,6 +356,13 @@ class _TaskPanel:
FemGui.open(self.fea.inp_file_name)
def runCalculix(self):
if self.fea.ccx_binary_present is False:
self.femConsoleMessage(
"CalculiX can not be started. No or wrong CalculiX binary: {}"
.format(self.fea.ccx_binary)
)
# TODO deactivate the run button
return
# print("runCalculix")
self.Start = time.time()