I want to connect to an Ansys Mechanical simulation to execute ironPython scripts through pyMechanical.
in order to do that, i run this script on the script panel
port = Ansys.ACT.Mechanical.MechanicalAPI.Instance.ApplicationAPI.StartGrpcServer()
print(port)
this would allow me to spawn a GrpcServer on a given port
i then use that port to connect my pyMechanical client to my Ansys Mechanical simulation
My question is: is there an easier way to spawn this GrpcServer?
I was wondering if there would be something similar to a COM interface for Ansys that would allow us to start the grpc server for a running simulation
I wasn't able to find any reference to an Ansys COM interface (for the Student version at least)
can you please help me route me to a solution you would see viable?
Best,
Tawfik