Socket API

Hello,

Is there an socket API to communicate with paraview.exe ??
If no , can we some how communicate with the process paraview.exe?

Thank you

Is there an socket API to communicate with paraview.exe ?

No

can we some how communicate with the process paraview.exe?

ParaView can be run as a Client/Server application by using pvserver and a paraview client, like paraview ou pvpython.

What are you trying to achieve ?

I was trying to get the current camera position from paraview client(paraview) and put them in a file , then from another python script(called ChargeDecharge.py) read these coordinates , and this script will use EnsightReader() of the .case that are in the camera view , and Delete() to those that are not. The idea that i had about pv Client/Server , was to send from paraview client (paraview) the camera’s coordinates to pvserver and with another client( launched from ChargeDecharge.py) will read these coordinates and then Show them or Delete them from the paraview client

Not sure that is possible without going through a file. Maybe you can do something with the multi-clients mode.

In any case, you can always create a ParaView plugin to send the information the way you see fit.