Adriano

vtkUnsGrid.GetPointData().GetArray("SurfaceFlow").GetTuple1(0) returns none!

I tried this:

vtkUnsGrid.GetPointData().GetArray(0).GetTuple1(0) as "SurfaceFlow" is the 
first array

And it works!!!!

I just have to add a "\n" in fout.write and I get one line per animation step 
with the integrated value on the Clip.

Thank you very much!

Richard


Adriano Gagliardi wrote:
Try this:

vtkUnsGrid.GetPointData().GetArray("SurfaceFlow").GetTuple1(0)
Should work.


--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:[email protected]
http://www.onera.fr

_______________________________________________
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