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