Re: [Paraview] Find Data in Python

2010-04-20 Thread Utkarsh Ayachit
Christian, O-oh! We can't have our users going mad now can we :). Guess we are looking at this the wrong way, instead of working from the solution, let's start with the problem/use-case. Can you describe your use-case as simply as possibly. What's the goal here? What is the user doing? Utkarsh O

Re: [Paraview] Find Data in Python

2010-04-19 Thread Christian Werner
Does that mean that I have to create a selection with explicitly defining the points? Oh man... Then I can forget the whole thing anyway. Everything is so nice about Paraview, but this selection thing is driving me mad. It's still all about making it as easy as possible for the user to selec

Re: [Paraview] Find Data in Python

2010-04-19 Thread Utkarsh Ayachit
Does your data have time? If not, you don't need to specify the time=1 attribute at all. So SelectionWriter is the thing that's coming from your plugin? Does it support writing empty datasets? Can you attach a debugger and see where is crashes? Are you sure it's not crashing in the writer? I d

Re: [Paraview] Find Data in Python

2010-04-19 Thread Utkarsh Ayachit
You can simply call UpdatePipeline() as follows: from paraview.simple import * UpdatePipeline(proxy=extractSelectionSource) This will update the extract selection filter explicitly. Look at help(UpdatePipeline) for details. Utkarsh On Sun, Apr 18, 2010 at 3:38 PM, Christian Werner wrote:

Re: [Paraview] Find Data in Python

2010-04-18 Thread Christian Werner
Hi Utkarsh, these are great news. I tried the python trace but not in combination with the extraction (what I acutally do need anyway) As you might remember I am working around the "lack" of possibilty to select whole objects (cells with same RegionID). With the given SelectionQuerySourc

Re: [Paraview] Find Data in Python

2010-04-17 Thread Utkarsh Ayachit
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_O

[Paraview] Find Data in Python

2010-04-17 Thread Christian Werner
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