[vtkusers] How to re-load time information in ExodusIIReader

Slaughter, Andrew E andrew.slaughter at inl.gov
Thu Jan 12 15:12:51 EST 2017


Is there anyone who can help me with this issue?

On Tue, Dec 20, 2016 at 11:32 AM, Slaughter, Andrew E <
andrew.slaughter at inl.gov> wrote:

> 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.
>
> 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.
>
> But, if I copy the files to a common filename I always get 2, even when
> the file has changed to have 3 timesteps.
>
> Any help would be appreciated,
>
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170112/5562c59d/attachment.html>


More information about the vtkusers mailing list