<div dir="ltr">Can anybody answer my question?<div>When Catalyst receives the next timestep update from some simulation every few seconds or minutes, it sends its data to the pvserver process. The pvserver somehow notifies the Paraview client, which will display the new data.</div><div>If Utkarsh's comment is correct that no events can be forwarded from server to client, then how does Paraview know that it should display the next timestep?</div><div><br></div><div>I need to implement a very similar use case, for which a better understanding of the communication between the Catalyst session, the pvserver and the Paraview client is of high importance.</div><div>Thanks</div><div>Kolja</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 22, 2017 at 7:54 PM, Kolja Petersen <span dir="ltr"><<a href="mailto:petersenkolja@gmail.com" target="_blank">petersenkolja@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oh, well, but how is Catalyst forwarding new time step information from server to client?<div>Time step updates can occur at any time. Which event mechanism notifies the client?</div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Kolja</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 22, 2017 at 6:57 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This is not a use-case supported in ParaView. We don't forward events from server to client.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-5360357721745673276h5">On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen <span dir="ltr"><<a href="mailto:petersenkolja@gmail.com" target="_blank">petersenkolja@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-5360357721745673276h5"><div dir="ltr"><div>Hello,</div><div>I would like to invoke a callback on a proxy in a pvpython session from a server-side method.</div><div><br></div><div>In my server-side class "vtkCustom" I have a method</div><div>void vtkCustom::SetData(int i){</div><div> ...</div><div> this->InvokeEvent(1999,NULL);</div><div> ...</div><div>}</div><div><br></div><div><br></div><div>On the client side, I create a proxy to a vtkCustom object, register an observer and set the "Data" property, which should invoke eventid=1999:</div><div>...</div><div>custom=pxm.NewProxy("myextensi<wbr>ons","Custom")</div><div>pxm.RegisterProxy("myextension<wbr>s","Custom",custom)</div><div><br></div><div>def fun(obj,event):</div><div> print "CALLBACK",obj,event</div><div><br></div><div>custom.AddObserver(1999,fun)</div><div>vtk.vtkSMPropertyHelper(custom<wbr>.GetProperty("Data")).Set(42)</div><div>...</div><div><br></div><div>The observer function "fun" on the client is never invoked, although the server-side invokes that event. I'm misunderstanding some concept of Paraviews event mechanism for sure. Can you help me correct my steps?</div><div>Thanks</div><div>Kolja</div><div><br></div></div><div id="m_-5360357721745673276m_-5828339282545804963m_-8161186613008835523DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
<tbody><tr>
<td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
<td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:#4453ea" target="_blank">www.avast.com</a> </td>
</tr>
</tbody></table>
<a href="#m_-5360357721745673276_m_-5828339282545804963_m_-8161186613008835523_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><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/opensou<wbr>rce/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/ParaV<wbr>iew</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=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>