Re: [Paraview] Use case Paraview-Selection

2010-04-21 Thread Utkarsh Ayachit
Christian, Attached is simple python script (that you can encapsulate as a macro) to which you can add code to processes the extract points however you like. I am simply writing them out to a file. To use this script, do the following (to keep it simple I am using the Sphere source as an example,

Re: [Paraview] Use case Paraview-Selection

2010-04-21 Thread Utkarsh Ayachit
Glad it works. What do you mean by "a pick selects all cells with same ID" ? Is ID a cell array? If so, you can already do so using the Edit | "Find Data" dialog [ http://www.paraview.org/Wiki/Find_Data_using_Queries ] Utkarsh On Wed, Apr 21, 2010 at 5:10 PM, Christian Werner wrote: > This w

Re: [Paraview] Use case Paraview-Selection

2010-04-22 Thread Christian Werner
Yep, I know the Find Data and it's quite nice to have. I mean something still more simple. In my use case i wrote: "...The object will highlight so the user can always see which objects have already been selected..." which could be realized with some kind of "RegionID" selector. So one click

Re: [Paraview] Use case Paraview-Selection

2010-04-22 Thread Utkarsh Ayachit
The problem with implementing such a component in ParaView is the fact that there's no universal notion of "RegionID". However it's may not be difficult to add a tool button plugin that uses the some code similar to FindData to create RegionID based selections for your application. Utkarsh On Th