Thanks Pat,
that works. Honestly it is not my aim to use Python every time I want to
change/query a zome factor. Would it be possible to:
* add it to the GUI
* Save it together with the views?
Thanks.
Bastian
Am 10.06.2010 21:53, schrieb pat marion:
> >> I can do view.CameraParallelScale=1 and the value is changed but
> the view is not....
>
> Is it possible you just need to call Render() to update the view? It
> works for me from python, if I enable parallel projection and adjust
> the scale-
>
> view.CameraParallelProjection = 1
> view.CameraParallelScale = 1.0
> Render()
>
> Pat
>
> On Thu, Jun 10, 2010 at 2:46 PM, [email protected]
> <mailto:[email protected]> <[email protected]
> <mailto:[email protected]>> wrote:
>
> Dear all,
>
> I am very happy that 3.8.0 now has the option to save/load view.
> Very helpful. However when using parallel projection the parameter
> to control zooming is:
>
> * Not shown in the Adjust Camera GUI
> * Not saved with the views
>
> The only way I have so far is to query it from Python:
>
> >>>
> view=GetRenderView()
>
> >>>
> view.CameraParallelScale
>
> 2.7270467698171603
>
> However this is not so straight-forward. I also done't know how to
> modify it from within python. I can do
> view.CameraParallelScale=1 and the value is changed but the view
> is not....
>
> Regards Bastian
>
>
> _______________________________________________
> Powered by www.kitware.com <http://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