Re: [Paraview] PythonFullExample does not send any data

2018-02-06 Thread Andy Bauer
Hi Simon, I'm confused a to where the data is being sent from and to. If it's from the simulation and to the adaptor then all of that would get done before Catalyst would ever see it. If it's from the adaptor to Catalyst or to the PV GUI through the Live connection you'll probably want to look at

Re: [Paraview] PythonFullExample does not send any data

2018-02-06 Thread Michalke, Simon
Thank you very much, it works now. Since I am getting the initial data via http and process it manually, is there a way to "directly" open a connection and send data? I think the coprocessor structure is not suitable for my case. Something like: con = openConnection() con.sendData(data) con.

Re: [Paraview] PythonFullExample does not send any data

2018-02-06 Thread Andy Bauer
In cpscript.py you will need to change the following line: coprocessor.EnableLiveVisualization(False, 1) to: coprocessor.EnableLiveVisualization(True, 1) As for building VTK objects through the Python API, the VTK Examples at https://lorensen.github.io/VTKExamples/site/Python/ should have severa

[Paraview] PythonFullExample does not send any data

2018-02-06 Thread Michalke, Simon
Hello, I am trying to code a tool to send live data from a simulation to paraview. I build my paraview with the latest superbuild and with system python (3.4m). Then I tried to run the "PythonFullExample". After un-commenting line 25 in fedriver.py: coprocessor.addscript("cpscript.py") the sc