<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Renato Elias</b> <span dir="ltr"><<a href="mailto:rnelias@gmail.com">rnelias@gmail.com</a>></span><br>Date: Fri, Jun 2, 2017 at 11:45 AM<br>Subject: Re: [Paraview] [Catalyst] Extracting and saving data from a spreadsheet<br>To: Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br><br><br><div dir="ltr">I gave up to extract cell values from a spreadsheet and save using a python text file... it was not working even after your suggested changes :(<div><br></div><div>I'm now just trying to save a csv file at each coprocessing step with the following code:</div><div><br></div><div><span class=""><div> # create a new 'Integrate Variables'</div></span><div> integrateVariables1 = IntegrateVariables(Input=<wbr>calculator1)</div><div><br></div><div> ThisTime = datadescription.GetTime()</div><div> ThisTimeStep = datadescription.GetTimeStep()</div><div> print(' => Time step: '+str(ThisTimeStep)+' Time: '+str(ThisTime))</div><div> fout = 'coefs_'+str(ThisTimeStep)+'.<wbr>csv'</div><div> SaveData(fout, proxy=integrateVariables1)</div></div><div><br></div><div>but it seems ParaView does not treat the IntegrateVariables filter as a data producer and I'm only able to save the first csv file when the pipeline is created.</div><div><br></div><div>It seems Catalyst was not designed around the idea that some data could be written to text files and be pos-processed later on :(</div><div><br></div><div>Any idea?</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div><br>Renato</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 4:22 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>> I've tried to follow these steps in ParaView Python Console as described<br>
> bellow but if I print the data structure it seems there's no information<br>
> about the result of IntegrateVariables's filter<br>
<br>
</span>You're missing `UpdatePipeline(cl)` (sorry, my original snippet had a<br>
type, UpdatePIpeline(), not Update() is required). You need to call is<br>
before trying to get the data.<br>
</blockquote></div><br></div>
</div></div></div><br></div>