<div dir="ltr">While it's hard to get right of those values from trace, what's definitely working already is the development version is, if you're tracing and you hit the "reset camera" button", it will trace the Python method to use to do extactly that which is "ResetCamera" and not the actual camera property values. Would that help?<div>
<br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 10:46 AM, Anton Shterenlikht <span dir="ltr"><<a href="mailto:mexas@bris.ac.uk" target="_blank">mexas@bris.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>From <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a> Wed Jul 23 15:02:03 2014<br>
<div class="">><br>
>Can you switch the lines "WriteAnimation" and "CameraAnimationCue.KeyFrame<br>
>=...". The WrieAnimation should happen after that.<br>
<br>
</div>yes, that helped, thanks.<br>
<div class=""><br>
> Seems like a bug in the<br>
>tracing code. The tracing code is being revamped. Although animation has<br>
>been skipped in this revamp, it's on my todo list for subsequent release.<br>
<br>
</div>If you are talking about revamping,<br>
would be great to get an easier way<br>
to specify various parameters as<br>
variables, not actual values, e.g.<br>
in this code, produced by the tracer:<br>
<div class=""><br>
RenderView1.CameraPosition = [127.5, 127.5, 883.8540784668097]<br>
RenderView1.CameraFocalPoint = [127.5, 127.5, 95.5]<br>
RenderView1.CameraClippingRange = [590.4255376821416, 1039.4068896438118]<br>
RenderView1.CameraParallelScale = 204.0410497914574<br>
<br>
</div>all number will have to be changed<br>
if the size of my model changes,<br>
but it's not clear how to scale<br>
them with the data.<br>
<br>
Many thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
Anton<br>
<br>
</font></span></blockquote></div><br></div>