How to choose release in which Sherlock launches ?
Bruno Gaudin
Member, Employee Posts: 6
✭✭✭
in Structures
For comparison purpose, it could be interesting to test the result of the same analysis launched in different Ansys releases.
Tagged:
0
Comments
-
You can use the subprocess library and the following line
#Sherlock python import import ansys import subprocess from ansys.sherlock.core import launcher #Name of the project to open project="D:\\OneDrive - ANSYS, Inc\\Documents\\Sherlock\\projects\\testrro" #your project path with \\ ver1 = "v242" #the release needed subprocess.Popen(['C:\\Program Files\\ANSYS Inc\\' + ver1 + '\\sherlock\\SherlockClient.exe' , '-grpcPort=9090' , project])
```
0