That's it. Thank you!

Ian


Am 01.01.2014 16:47, schrieb Utkarsh Ayachit:
Attached is an extract from the ParaView User's Guide under
development that pretty much covers this.

Utkarsh

On Tue, Dec 31, 2013 at 4:24 AM, Ian Krukow <[email protected]> wrote:
Hi,

I thought it should be quite simple, but I have not found it yet.
How can I get the names of the data arrays of an existing source in a python
script? Or, alternatively, how can I check whether a data array with a
certain name exists (this is what I actually want to do)?

The reason: I have different data sets, where the data arrays are named
differently (two possibilities), but I want to do the same operation on both
of them. Therefore, I would like to check, which of the names is present in
the dataset I have loaded, and by that pick the correct names.

Kind regards
Ian


--
Dipl.-Ing. Ian Krukow
Tel +49 531 391-3673

Technische Universität Braunschweig
Institut für Statik/SFB 880
Beethovenstr. 51
38106 Braunschweig
Deutschland

www.statik.tu-braunschweig.de
sfb880.tu-braunschweig.de
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to