<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 13, 2017 at 8:19 AM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Andrew,<br>
<br>
Does calling Modified() on the reader cause an update? If not, how about calling SetFileName(NULL) and then SetFileName(previousFileName)? Note that the latter will (should, anyway) invalidate the reader's cache, so it is not without a cost.<br></blockquote><div><br></div><div>I am doing the following and nothing changes the behavior:</div><div> </div><div><div>reader.SetFileName(None)</div><div>reader.GetExecutive().GetOutputInformation(0).Remove(vtk.vtkStreamingDemandDrivenPipeline.TIME_STEPS())</div><div>reader.ResetSettings()</div><div>reader.ResetCache()</div><div>reader.Modified()</div></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
ParaView has had this feature requested (for information to get updated when the file gets changed) before and I don't recall whether something was done to address it or not.<br>
<br>
David<br>
<div><div class="gmail-h5"><br>
> On Jan 12, 2017, at 3:12 PM, Slaughter, Andrew E <<a href="mailto:andrew.slaughter@inl.gov">andrew.slaughter@inl.gov</a>> wrote:<br>
><br>
> Is there anyone who can help me with this issue?<br>
><br>
> On Tue, Dec 20, 2016 at 11:32 AM, Slaughter, Andrew E <<a href="mailto:andrew.slaughter@inl.gov">andrew.slaughter@inl.gov</a>> wrote:<br>
> I am reading a file that contains 2 timesteps, but is then updated and has an additional timestep. How can a reload the vtkExodusIIReader to get the new time information.<br>
><br>
> I attached a python script demonstrating what I am doing, but I will summarize here. My test script has two files (diffusion_1.e and diffusion_2.e that have 2 and 3 timestep respectively). If I create a vtkExodusIIReader and change the filename then I get the correct number.<br>
><br>
> But, if I copy the files to a common filename I always get 2, even when the file has changed to have 3 timesteps.<br>
><br>
> Any help would be appreciated,<br>
><br>
> Andrew<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQIFAg&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=W1vKstuEGq-lNynopbSrIwOQtVR21SJhJxwg3144Opw&s=I7tOUUvI2lc5-Eug4ZanDkvXqd8Rvsh6y8RPRwskGXw&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__www.<wbr>kitware.com_opensource_<wbr>opensource.html&d=DQIFAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=W1vKstuEGq-<wbr>lNynopbSrIwOQtVR21SJhJxwg3144O<wbr>pw&s=I7tOUUvI2lc5-<wbr>Eug4ZanDkvXqd8Rvsh6y8RPRwskGXw<wbr>&e=</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.org_Wiki_VTK-5FFAQ&d=DQIFAg&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=W1vKstuEGq-lNynopbSrIwOQtVR21SJhJxwg3144Opw&s=PapWYmdBGkq3LB9WjMmMlZ7L_kGw3Vt7OaN_h_K4scs&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__www.vtk.<wbr>org_Wiki_VTK-5FFAQ&d=DQIFAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=W1vKstuEGq-<wbr>lNynopbSrIwOQtVR21SJhJxwg3144O<wbr>pw&s=PapWYmdBGkq3LB9WjMmMlZ7L_<wbr>kGw3Vt7OaN_h_K4scs&e=</a><br>
><br>
> Search the list archives at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DQIFAg&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=W1vKstuEGq-lNynopbSrIwOQtVR21SJhJxwg3144Opw&s=YXE_cbXDb_lkTgxTDXRFyPaxxS7x4_zBiKN8_BDyVBU&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__<wbr>markmail.org_search_-3Fq-<wbr>3Dvtkusers&d=DQIFAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=W1vKstuEGq-<wbr>lNynopbSrIwOQtVR21SJhJxwg3144O<wbr>pw&s=YXE_cbXDb_<wbr>lkTgxTDXRFyPaxxS7x4_zBiKN8_<wbr>BDyVBU&e=</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_vtkusers&d=DQIFAg&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=W1vKstuEGq-lNynopbSrIwOQtVR21SJhJxwg3144Opw&s=Ye48KJ2KUQJ0PFq7X8pMHtXNg0JOs_8BvXi88lpQWgc&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__public.<wbr>kitware.com_mailman_listinfo_<wbr>vtkusers&d=DQIFAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=W1vKstuEGq-<wbr>lNynopbSrIwOQtVR21SJhJxwg3144O<wbr>pw&s=<wbr>Ye48KJ2KUQJ0PFq7X8pMHtXNg0JOs_<wbr>8BvXi88lpQWgc&e=</a><br>
<br>
</blockquote></div><br></div></div>