Probe location in a script
Hi everybody,
I am a new Paraview user. I am trying to extract points from a bunch of vtu files. It is pretty easily done with "probe location". But since I have a lot of files, I would like to automatize the process (with a macro or a python script). Could someone maybe show me how it's done? Thanks a lot. |
Hi John,
Here is a example script which opens a vtu files, applies probe filter and saves the result to an array: Code:
from paraview import numpy_support as ns -Mikko |
All times are GMT -4. The time now is 17:26. |