ansys/pymechanical

ansys-mechanical doesn't work on linux for 241

dipinknair opened this issue · 1 comments

after running

save-ansys-path --name mechanical /path/to/.workbench

running ansys-mechanical console script
ansys-mechanical -r 241 --exit -i test.py

gives the following error:

ValueError: invalid literal for int() with base 10: ''

This is because we always use find_mechanical, which looks for mechanical in default locations. If the user saved the location using ansys.tools.path, it should use get_mechanical_path()

we can extend ATP to look for ansys_inc under the home drive