[Paraview] How to copy "global variable" data to a variable in Python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue May 31 11:39:28 EDT 2016


Alan,

I am not sure I follow, but attached is a script that fetches "global
arrays" to the client side so you can do whatever you want with it. Is
that what you're looking for?

Utkarsh

On Wed, May 18, 2016 at 9:52 PM, Scott, W Alan <wascott at sandia.gov> wrote:
>
>
> If I want to get the numeric value of an "Annotate Global Variable" variable
> so that I can use it later in a python script, how do I do that? E.g. take
> the global variable, make it into a string, and display it as text
>
>
>
> Thanks,
>
>
>
> Alan
>
>
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: fetch_global_data.py
Type: text/x-python
Size: 981 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160531/d1050f95/attachment.py>


More information about the ParaView mailing list