FEM: ccx tools solver, fix solver type check

This commit is contained in:
Bernd Hahnebach
2018-01-23 07:42:22 +01:00
committed by wmayer
parent 6b591a16b9
commit 6fa2ae54f9

View File

@@ -40,7 +40,7 @@ class _FemSolverCalculix():
obj.Proxy = self # link between App::DocumentObject to this object
obj.addProperty("App::PropertyString", "SolverType", "Base", "Type of the solver", 1) # the 1 set the property to ReadOnly
obj.SolverType = str(self.Type)
obj.SolverType = 'FemSolverCalculix'
# fem_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/General") # not needed ATM
ccx_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/Ccx")