<div dir="ltr">Hi McFly,<div><br></div><div>The Python Tracing facility in ParaView is perfect for this kind of task. It records a trace of your actions in the ParaView GUI to a Python script that you can modify a bit to process a bunch of files. To turn on tracing, choose the Tools -> Start Trace menu item.</div><div><br></div><div>More info on tracing is available in the ParaView User Guide [1] under section 1.6.2.</div><div><br></div><div>Best regards,</div><div>Cory</div><div><br></div><div>[1] <a href="http://www.paraview.org/paraview-guide/">http://www.paraview.org/paraview-guide/</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 2, 2015 at 9:39 AM, <span dir="ltr"><<a href="mailto:mctolille@netcourrier.com" target="_blank">mctolille@netcourrier.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><br>Hi everybody,<br>
<br>
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). <br>
<br>
Could someone maybe show me how it's done?<br>
<br>My best guess is that I should have the following in a python script:<br>Probelocation.ProbeType.Center = [10.0,20.0,30.0] <br>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.<br><br>
Thanks a lot,<br>Mc Fly<br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>