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