Hi Jay, The Python console is not the right way to go. Use the Python Calculator with an expression like:
mag(<array name here>) Best, -berk On Thu, Mar 26, 2015 at 4:28 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 > >
_______________________________________________ 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
