Here's how: source = GetActiveSource()
# First, locate the time keeper. # --- This makes me realize we need to add a new function to simple.py called GetTimeKeeper() # to make this prettier :). tk = GetAnimationScene().TimeKeeper # Now use the following: tk.SetSuppressTimeSource(source, True) I'm also going to fix the tracing to capture this (http://www.paraview.org/Bug/view.php?id=15779) Utkarsh On Wed, Oct 7, 2015 at 4:02 PM, Eric Lynch <[email protected]> wrote: > Checking ignore time in browser worked for me. Is there a way to do that in a > Python script? > > Thanks, > Eric > >> On Oct 7, 2015, at 12:07 PM, Utkarsh Ayachit <[email protected]> >> wrote: >> >> One simpler option worth trying is to make ParaView totally ignore >> timesteps from one of the readers. Simply right click on the reader in >> the Pipeline Browser and check the "Ignore Time" checkbox. Now, >> depending on the reader, the reader with "ignored time" will either >> give the "closest" timestep or the "lower-bound" timestep -- but it's >> worth trying. >> >> Utkarsh >> >>> On Tue, Oct 6, 2015 at 11:44 PM, Eric Lynch <[email protected]> wrote: >>> After reading a dataset into ParaView, is it possible to change the time >>> step values? I'm reading in data in two different formats. I've got the >>> same time steps in both readers (they correspond to the same iteration of >>> the same simulation), but due to differences in precision, ParaView thinks >>> they're different times. For example, one reader parses time as a float and >>> has a time step of 0.10000000149011 while the other parses time as a double >>> and shows 0.100000000000000. Is there a way for me to change one of these >>> after reading so ParaView thinks they're the same? >>> >>> Thanks, >>> Eric >>> >>> _______________________________________________ >>> 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 ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
