No, it seems that it doesn't depend on the type of data. (I've tried with structured bloc and poly data)<br><br>I tried with the binary version 3.8 too... same effect. <br>I will try with the 3.8.1, but I think I will have to replace all the dots by comas. <br>
<br><div class="gmail_quote">Le 15 septembre 2010 16:41, Adriano Gagliardi <span dir="ltr"><<a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div><span><font color="#0000ff" face="Arial" size="2">I
tried it with a vtkPolyData and vtkUnstructuredGrid input within ParaView 3.8.0
and it worked fine. Is it just with a multiblock data-set you are having
issues?</font></span></div>
<div> </div>
<p><font size="2">===================================<br><br>Adriano Gagliardi
MEng PhD<br>Business Sector Leader<br>Computational Aerodynamics<br>Aircraft
Research Association Ltd.<br>Manton Lane<br>Bedford<br><br>Tel: 01234 32
4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a> </font></p>
<div> </div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>
[mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>] <b>On Behalf Of </b>Aurélien
Marsan<br><b>Sent:</b> 15 September 2010 15:36<br><b>To:</b> Dave
Partyka<br><b>Cc:</b> Paraview<br><b>Subject:</b> Re: [Paraview] ... something
really weird.... dependance with matplotlib version ?<br></font><br></div><div><div></div><div class="h5">
<div></div>... I don't understand anything at all now... <br><br>From a same
MultiBlockDataSet, doing this in Paraview through a programmable filter, and in
pvpython, I don't get the same result ... ! <br><br>
<p style="margin: 0px; text-indent: 0px;">from paraview import vtk</p>
<p style="margin: 0px; text-indent: 0px;">i = self.GetInput()</p>
<p style="margin: 0px; text-indent: 0px;">b = i.GetBlock(1)</p>
<p style="margin: 0px; text-indent: 0px;">c = vtk.vtkArrayCalculator()</p>
<p style="margin: 0px; text-indent: 0px;">c.SetInput(b)</p>
<p style="margin: 0px; text-indent: 0px;">c.SetFunction('1.4')</p>
<p style="margin: 0px; text-indent: 0px;">c.SetResultArrayName('test')</p>
<p style="margin: 0px; text-indent: 0px;">c.Update()</p>
<p style="margin: 0px; text-indent: 0px;">print
c.GetOutput().GetPointData().GetArray('test').GetTuple1(1)</p><br>in pvpython
---> 1.4<br>in paraview ---> 1.0<br><br>Could someone reproduce this ?
<br></div></div><p>**********************************************************************<br>This email contains information that is private and confidential and is intended only for the addressee.<br>If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br>
Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br>system management and security reasons.<br>Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:<br>
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</div>
</blockquote></div><br>