Yeah, It works ... Thanks you,
Regards, Laurent On Fri, Jul 9, 2010 at 6:37 PM, Utkarsh Ayachit <utkarsh.ayac...@kitware.com > wrote: > Try the following: > > ResetCamera() > view = GetActiveView() > view.CenterOfRotation = GetActiveCamera().GetFocalPoint() > Render() > > On Fri, Jul 9, 2010 at 11:58 AM, Laurent Vanboquestal > <laurent.vanboques...@gmail.com> wrote: > > Hello, > > > > I would like to know if there is a (python) way to reset the center of > > rotation (like the Reset button in the paraview GUI/Camera toolbar) ? > > I notice that the ResetCamera() function doesn't reset the center of > > rotation .... > > > > Any idea? > > > > Best Regards, > > > > Laurent > > > > _______________________________________________ > > 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 > > > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview