get_default_ansys_path#
- ansys.mapdl.core.launcher.get_default_ansys_path()#
Search for ansys path within the standard install location.
Returns the path of the latest MAPDL version installed.
Examples
Within Windows
>>> from ansys.mapdl.core.launcher import get_default_ansys_path >>> get_default_ansys_path() 'C:/Program Files/ANSYS Inc/v211/ANSYS/bin/winx64/ansys211.exe'
Within Linux
>>> get_default_ansys_path() '/usr/ansys_inc/v211/ansys/bin/ansys211'