<div dir="ltr">Thank you! This is what I really needed.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-19 20:56 GMT+03:00 Scott, W Alan <span dir="ltr"><<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-8178551669834366582WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">One set of ParaView tutorials is here:
<a href="https://www.paraview.org/Wiki/SNL_ParaView_4_Tutorials" target="_blank">https://www.paraview.org/Wiki/<wbr>SNL_ParaView_4_Tutorials</a>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">In the one ParaView and Python, the command is given, with supporting python.
<a href="https://www.paraview.org/Wiki/ParaView_and_Python" target="_blank">https://www.paraview.org/Wiki/<wbr>ParaView_and_Python</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I believe you are looking for the “Dolly” command. So,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:13.5pt">Control the camera<u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:.5in">We want to move the camera. <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">First, get the camera and reset the camera to a known good position.
<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>camera=GetActiveCamera()</b> <u></u>
<u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>camera.SetFocalPoint(0,0,0)</b> <u></u>
<u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>camera.SetPosition(0,0,-10)</b> <u></u>
<u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>camera.SetViewUp(0,1,0)</b> <u></u>
<u></u></p>
<p class="MsoNormal" style="margin-left:.5in">How to move the camera closer or further away
<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>camera.Dolly(10)</b> <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Render()</b> <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>camera.Dolly(.1)</b> <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Render()</b> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@<wbr>paraview.org</a>]
<b>On Behalf Of </b>Rustem Khabetdinov<br>
<b>Sent:</b> Monday, June 19, 2017 9:35 AM<br>
<b>To:</b> ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>Subject:</b> [EXTERNAL] [Paraview] Zoom in/out<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is there any python script to zoom in by some percent? I tried to create one myself but it fails to zoom in correctly. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Best Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Rustem.<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>