<div dir="ltr"><div>Juan,</div><div><br></div>In newer versions of ParaView (5.5.2 was released just a couple days ago), you can use the Force Time filter to lock a data set at a specific time. In Python, this looks like<div><br></div><div>

<p style="margin:0px;white-space:pre-wrap"><span style="font-family:Monaco;font-style:italic;color:rgb(64,128,128)"># create a new 'Force Time'</span></p>
<pre style="margin:0px"><span style="font-family:Monaco">forceTime1 </span><span style="font-family:Monaco;color:rgb(102,102,102)">=</span><span style="font-family:Monaco"> ForceTime(Input</span><span style="font-family:Monaco;color:rgb(102,102,102)">=</span><span style="font-family:Monaco">canex2)</span></pre>
<pre style="margin:0px;font-family:Monaco"><br></pre>
<pre style="margin:0px"><span style="font-family:Monaco;font-style:italic;color:rgb(64,128,128)"># Properties modified on forceTime1</span></pre>
<pre style="margin:0px"><span style="font-family:Monaco">forceTime1</span><span style="font-family:Monaco;color:rgb(102,102,102)">.</span><span style="font-family:Monaco">ForcedTime </span><span style="font-family:Monaco;color:rgb(102,102,102)">=</span><span style="font-family:Monaco"> </span><span style="font-family:Monaco;color:rgb(102,102,102)">20.0</span></pre><div><br></div><div>Here, I am forcing the data set to be at time 20.0.</div><div><br></div><div>See this post which may further address what you are trying to do: <a href="https://discourse.paraview.org/t/how-to-displace-by-time-t-time-0/138">https://discourse.paraview.org/t/how-to-displace-by-time-t-time-0/138</a></div><div><br></div><div>Thanks!</div><div>Cory</div><div><br></div><div><div style="text-decoration-style:initial;text-decoration-color:initial">p.s. We are moving community support to <a href="https://discourse.paraview.org/">https://discourse.paraview.org/</a>. Please post additional help requests on that forum.</div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 21, 2018 at 3:24 AM ROJAS-CARRILLO Juan-javier <<a href="mailto:jrojasca@ens-paris-saclay.fr">jrojasca@ens-paris-saclay.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi all,<br>
<br>
 From a simulation in Paraview Python (V.4.3.1), I need to extract the  <br>
displacement from a specific time. What I have tried (without success)  <br>
to set the time I want is to use the following commands in my pvython  <br>
script:<br>
<br>
animationScene1.AnimationTime = 200.0<br>
<br>
Also tried,<br>
<br>
animationScene1.PlayMode = 'Sequence'<br>
<br>
# Properties modified on animationScene1<br>
animationScene1.LockStartTime = 0<br>
<br>
animationScene1.Play()<br>
<br>
animationScene1.LockEndTime = 200<br>
animationScene1.UpdateAnimationUsingDataTimeSteps()<br>
<br>
Is there another way in which I can set a specific time here?<br>
<br>
Thanks a lot!<br>
<br>
Juan<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
ParaView discussion is moving! Please visit <a href="https://discourse.paraview.org/" rel="noreferrer" target="_blank">https://discourse.paraview.org/</a> for future posts.<br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>