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 <[email protected]> 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 _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
