Skip to content

ansys-mechanical doesn't work on linux for 241 #497

@dipinknair

Description

@dipinknair

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()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions