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"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></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>
<<a href="mailto:laurent.vanboquestal@gmail.com">laurent.vanboquestal@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I would like to know if there is a (python) way to reset the center of<br>
> rotation (like the Reset button in the paraview GUI/Camera toolbar) ?<br>
> I notice that the ResetCamera() function doesn't reset the center of<br>
> rotation ....<br>
><br>
> Any idea?<br>
><br>
> Best Regards,<br>
><br>
> Laurent<br>
><br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br>