Re: [Paraview] Reset camera center of rotation

2010-07-12 Thread Laurent Vanboquestal
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

[Paraview] Reset camera center of rotation

2010-07-09 Thread Laurent Vanboquestal
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

Re: [Paraview] Reset camera center of rotation

2010-07-09 Thread Utkarsh Ayachit
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