[Paraview] How to get point array data in paraview

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Mar 31 10:51:11 EDT 2015


How about using the calculator or Python calculator?

pythonCalculator1 = PythonCalculator(Input=out)
pythonCalculator1.Expression = 'mag(Normals)'
UpdatePipeline(pythonCalculator1)

On Thu, Mar 26, 2015 at 4:17 PM, Jay Romero <jayreno33 at gmail.com> wrote:
> I am trying to get point array data ( node and its values) of a variable in
> paraview: so far I can use following (python shell):
>
> from paraview.simple import *
> out = GetActiveSource()
>
> The point array data is a velocity vector on each node, and I can calculate
> magnitude of a vector, next I want to treat these magnitude values as new
> point array data in the pipeline browser.
> How to do in python shell?
>
> Best Regards
>
> Jay


More information about the ParaView mailing list