Adriano Gagliardi wrote:
> //=======================================
>
> Is it possible Render() calls ResetCamera()?
>
> ===================================
You may look at the source code in
/Utilities/VTKPythonWrapping/paraview/simple.py
def Render(view=None):
"""Renders the given view (default value is active view)"""
if not view:
view = active_objects.view
view.StillRender()
if _funcs_internals.first_render:
view.ResetCamera()
view.StillRender()
_funcs_internals.first_render = False
return view
So, it would seem that if a first rendering has not been done, then yes,
it calls ResetCamera. Try doing a Render call before setting your
camera, and then follow your usual procedure
Jean--
Swiss National Supercomputing Center
_______________________________________________
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