Hi Paul,

This should get tracked in the Python Trace functionality. I'll add a bug
report for this. For now you can do it manually with something like:
>>> w = Wavelet()

>>> selection = SelectCells(query="id==0")

>>> ec = ExtractSelection(Selection=selection)

>>> ec.UpdatePipeline()


This should select the first cell of the Wavelet source and extract it. For
point selection replace SelectCells with SelectPoints. There's probably
more complex selections for multiblock data sets but talking to you I
thought you had an unstructured data set. For the query string, you can see
how more complex queries are created in the Find Data option under the Edit
menu.


Let me know if this doesn't work for you.


Cheers,

Andy


On Thu, Mar 26, 2015 at 3:28 PM, Paul DesJardin <[email protected]> wrote:

> Hi,
>
> I'm trying to use the PlotSelectionOverTime command in a python script
> for use with pvbatch.  When using PlotSelectionOverTime in the GUI,
> there is a "Copy Active Selection" operation required which I cannot
> replicate in the python script.  The incremental trace option doesn't
> appear to provide information since nothing is reported when the the
> "Copy Active Selection" button is pushed.
>
> Any help would be much appreciated.....
>
> Thanks!
>
> Paul
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to