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

Slaughter, Andrew E andrew.slaughter at inl.gov
Tue Dec 20 13:32:34 EST 2016


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/20161220/ea31e4d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffusion_1.e
Type: application/octet-stream
Size: 29504 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161220/ea31e4d9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffusion_2.e
Type: application/octet-stream
Size: 30480 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161220/ea31e4d9/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Reload.py
Type: text/x-python-script
Size: 1054 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161220/ea31e4d9/attachment.bin>


More information about the vtkusers mailing list