How to launch PyMAPDL in older ansys versions as compared to the most latest installed version?

Rohith Patchigolla
Member, Moderator, Employee Posts: 249
✭✭✭✭
in Structures
How to launch PyMAPDL in older ansys versions as compared to the most latest installed version?
Tagged:
0
Answers
-
Include the exec_file argument in the launch_mapdl function to point to 24R2 (for example) instead of default 25R1 (if its the latest installed).
mapdl = launch_mapdl(exec_file='C:\\Program Files\\ANSYS Inc\\v242\\ansys\\bin\\winx64\\ansys242.exe')
0 -
You can also do:
from ansys.mapdl.core import launch_mapdl mapdl = launch_mapdl(version=22.2)
1