[Paraview] Saving integrated data on an animated slice

Adriano Gagliardi agagliardi at ara.co.uk
Wed Dec 1 08:04:23 EST 2010


 
No worries. Glad you got it working!

Adriano

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk 
-----Original Message-----
From: Richard GRENON [mailto:richard.grenon at onera.fr] 
Sent: 01 December 2010 13:00
To: agagliardi at ara.co.uk
Cc: 'Biddiscombe, John A.'; paraview at paraview.org
Subject: Re: [Paraview] Saving integrated data on an animated slice

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:Richard.Grenon at onera.fr
 http://www.onera.fr


**********************************************************************
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************


More information about the ParaView mailing list