[Paraview] Get point array data in paraview from python shell
Berk Geveci
berk.geveci at kitware.com
Thu Mar 26 20:45:52 EDT 2015
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 <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
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150326/b25f16af/attachment.html>
More information about the ParaView
mailing list