Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-19 Thread Fabian Braennstroem
Hi Aurelien, thanks I will try it... Best Regards! Fabian On 05/18/2011 09:24 AM, Aurélien Marsan wrote: No, don't recompile Paraview. In the worst case, you simply want to install python 2.7 (same as Paraview) on your computer, add the numpy library, and set your PYTHONPATH to this new numpy

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-18 Thread Aurélien Marsan
No, don't recompile Paraview. In the worst case, you simply want to install python 2.7 (same as Paraview) on your computer, add the numpy library, and set your PYTHONPATH to this new numpy directory. I check if the numpy import works well with the binary package on a 64-bits linux, I will let you

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-18 Thread Aurélien Marsan
The import works fine for me, even with the 64-bits linux release. Le 18 mai 2011 09:24, Aurélien Marsan aur.mar...@gmail.com a écrit : No, don't recompile Paraview. In the worst case, you simply want to install python 2.7 (same as Paraview) on your computer, add the numpy library, and set

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-17 Thread Aurélien Marsan
In the programmable filter, if the input is something else than a vtkMultiBlockDataSet print inputs[0].PointData['ro'] in order to see the 'ro' value at the point. ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-17 Thread Aurélien Marsan
And for the coordinates : print inputs[0].Points Le 17 mai 2011 14:22, Aurélien Marsan aur.mar...@gmail.com a écrit : In the programmable filter, if the input is something else than a vtkMultiBlockDataSet print inputs[0].PointData['ro'] in order to see the 'ro' value at the point.

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-17 Thread Fabian Braennstroem
Thanks, ... by testing it I have some error messages with the programmable filter for the 3.10.1 binary 64bit version on linux: Traceback (most recent call last): File string, line 10, in module File

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-16 Thread Aurélien Marsan
Hello, I think you could use the ExtractSelection tool, and then look at the coordinates of the points on the display tab. Or print them using the programmable filter. Regards, A.Marsan 2011/5/14 Fabian Braennstroem f.braennstr...@gmx.de Hello, one idea I have right now is to use the

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-16 Thread Fabian Braennstroem
Hello, thanks for your hint. Do you have an idea, how I can access the information of the ExtractSelection tool using the programmable filter? Thanks! Fabian On 05/16/2011 02:48 PM, Aurélien Marsan wrote: Hello, I think you could use the ExtractSelection tool, and then look at the

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-13 Thread Fabian Braennstroem
Hello, one idea I have right now is to use the PointSource... than one could read the center information. Unfortunately, it seems, that the key P does not allow any snappy to the next cell point, which makes it a bit fuzzy!? Fabian On 05/10/2011 05:46 PM, Fabian Braennstroem wrote: Hi,

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-10 Thread Fabian Braennstroem
Hi, sorry me again... has no one an idea!? Would be nice! Best Regards! FAbian On 05/02/2011 08:40 PM, Fabian Braennstroem wrote: Hello, I would like to get the coordinates of one or more selected points (I think the button 'select points on' is the right tool for this) using a python script

[Paraview] best way to extract coordinates of selected point using python

2011-05-02 Thread Fabian Braennstroem
Hello, I would like to get the coordinates of one or more selected points (I think the button 'select points on' is the right tool for this) using a python script (or programmable filter). Does anyone have an idea, how to do this? Thanks in advance! Fabian