I'm following the tutorial at https://www.freecadweb.org/wiki/FEM_Tutorial_Python/en and i experiment an error when i want to perform the CCX analysis :
Code: Select all
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.17\Mod\Fem\femtools\ccxtools.py", line 648, in start_ccx
p = subprocess.Popen([self.ccx_binary, "-i ", f.baseName()],
AttributeError: 'FemToolsCcx' object has no attribute 'ccx_binary'
Code: Select all
from femtools import ccxtools
fea = ccxtools.FemToolsCcx(App.ActiveDocument.Analysis, App.ActiveDocument.CalculiX, test_mode =True)
fea.update_objects()
message = fea.check_prerequisites()
if not message:
fea.reset_all()
fea.run()
fea.load_results()
else:
print("Houston, we have a problem! {}\n".format(message))
Thank you for your time/help !