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

Andy Bauer andy.bauer at kitware.com
Fri Jan 13 10:36:24 EST 2017


Oops, just realized that this was on the VTK mailing list and not the
ParaView mailing list. You should probably go with David's response for VTK.

On Fri, Jan 13, 2017 at 10:35 AM, Andy Bauer <andy.bauer at kitware.com> wrote:

> You should be able to reload a file through Edit->Reload Files option.
> Note that on Linux F5 is the shortcut for that. The menu should show you
> the proper shortcut on your machine.
>
> On Fri, Jan 13, 2017 at 10:19 AM, David Thompson <
> david.thompson at kitware.com> wrote:
>
>> Hi Andrew,
>>
>> 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.
>>
>> 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.
>>
>>         David
>>
>> > On Jan 12, 2017, at 3:12 PM, Slaughter, Andrew E <
>> andrew.slaughter at inl.gov> wrote:
>> >
>> > 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
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Search the list archives at: http://markmail.org/search/?q=vtkusers
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/mailman/listinfo/vtkusers
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170113/1231b7c9/attachment.html>


More information about the vtkusers mailing list