<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Pat, all,<br>
<br>
to end this topic I have filled a feature request for this: <br>
<br>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/Bug/view.php?id=10824">http://www.paraview.org/Bug/view.php?id=10824</a><br>
<br>
Regards Bastian<br>
<br>
Am 10.06.2010 21:53, schrieb pat marion:
<blockquote
cite="mid:AANLkTik5K9552AfQqB_i6CmvPEfBvndT_V7b6ZlAL8jr@mail.gmail.com"
type="cite">>> I can do view.CameraParallelScale=1 and the value
is changed but the view is
not....<br>
<br>
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-<br>
<br>
view.CameraParallelProjection = 1<br>
view.CameraParallelScale = 1.0<br>
Render()<br>
<br>
Pat<span
style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);"></span><br>
<br>
<div class="gmail_quote">On Thu, Jun 10, 2010 at 2:46 PM, <a
moz-do-not-send="true" href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Dear all,<br>
<br>
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:<br>
<ul>
<li>Not shown in the Adjust Camera GUI</li>
<li>Not saved with the views</li>
</ul>
The only way I have so far is to query it from Python:<br>
<br>
<table style="margin: 4px;">
<tbody>
<tr>
<td style="border: medium none ;">
<p style="margin: 0px; text-indent: 0px;"><span
style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);">>>><br>
view=GetRenderView()</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);">>>><br>
view.CameraParallelScale</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 150, 0);">2.7270467698171603</span></p>
</td>
</tr>
</tbody>
</table>
However this is not so straight-forward. I also done't know how to
modify it from within python. I can do <br>
view.CameraParallelScale=1 and the value is changed but the view is
not....<br>
<br>
Regards Bastian <br>
<br>
</div>
<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
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: <a
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>