[ParaView] SurfaceFlow filter in python script
I'd like to calculate SurfaceFlow in batch mode.
The attached case runs correctly in ParaView GUI (Run Script).
But in batch mode, with pvpython or pvbatch, I get empty output.
Would anyone help me on this problem?
I'm using ParaView 3.12.0 + Python 2.6.6.
Giving answer without knowing exactly why it works only for the GUI but removing the UpdatePipeline() calls except the last one should work. Typically you only need UpdatePipeline() (if any is required) to the last object in the pipeline since ParaView's demand-driven pipeline mechanism propagates the update pipeline request upstream.
Thank you. It worked successfully.
|All times are GMT -4. The time now is 18:20.|