[Paraview] Probe location in a script

mctolille at netcourrier.com mctolille at netcourrier.com
Thu Jul 2 09:39:52 EDT 2015


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?

My best guess is that I should have the following in a python script:
Probelocation.ProbeType.Center = [10.0,20.0,30.0] 
assuming I want to probe at x=10, y=20, z=30. But then, I don't really know how to retrieve the variables values at that location.

Thanks a lot,
Mc Fly

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150702/2a27663f/attachment.html>


More information about the ParaView mailing list