[Paraview] Find Data in Python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sat Apr 17 11:41:49 EDT 2010


Yes, you can use the "SelectionQuerySource" to construct your query as follows:

selection_source_540 = SelectionQuerySource( InsideOut=0,
ArrayName='', HierarchicalLevel=-1, ProcessID=-1, ContainingCells=0,
DoubleValues=None, HierarchicalIndex=-1, FieldType='CELL',
ArrayComponent=0, Operator='IS_ONE_OF', TermMode='ID',
CompositeIndex=-1, IdTypeValues=0 )

You can use the python trace recorder functionality to determine how
to create the query. You will, however have to "Extract Selection"
from the query (and hit apply) before the selection_source object will
appear in the trace.

Utkarsh


On Sat, Apr 17, 2010 at 9:32 AM, Christian Werner
<christian.werner at rwth-aachen.de> wrote:
> Hello!
>
> Is there any chance that the new Edit->Find Data functionality is available
> in Python-Scripting?
>
>
> Best regards,
> Christian
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list