Yeah, It works ... <br><br>Thanks you,<br><br>Regards,<br><br>Laurent<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 6:37 PM, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Try the following:<br>
<br>
ResetCamera()<br>
view = GetActiveView()<br>
view.CenterOfRotation = GetActiveCamera().GetFocalPoint()<br>
Render()<br>
<div><div></div><div class="h5"><br>
On Fri, Jul 9, 2010 at 11:58 AM, Laurent Vanboquestal<br>
&lt;<a href="mailto:laurent.vanboquestal@gmail.com">laurent.vanboquestal@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I would like to know if there is a (python) way to reset the center of<br>
&gt; rotation (like the Reset button in the paraview GUI/Camera toolbar) ?<br>
&gt; I notice that the ResetCamera() function doesn&#39;t reset the center of<br>
&gt; rotation ....<br>
&gt;<br>
&gt; Any idea?<br>
&gt;<br>
&gt; Best Regards,<br>
&gt;<br>
&gt; Laurent<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>