<div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 3:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) <span dir="ltr"><<a href="mailto:joseph.g.hennessey2.ctr@mail.mil" target="_blank">joseph.g.hennessey2.ctr@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am getting an error on running a python script with pvpython and ParaView<br>
5.3.0 on linux.<br>
<br>
# get active view<br>
renderView1 = GetActiveViewOrCreate('<wbr>RenderView')<br>
<br>
# uncomment following to set a specific view size<br>
renderView1.ViewSize = [1200, 600]<br>
<br>
# Properties modified on renderView1<br>
renderView1.Background = [1.0, 1.0, 1.0]<br>
<br>
#Show stuff in renderView1<br>
.<br>
.<br>
.<br>
<br>
# reset view to fit data<br>
renderView1.ResetCamera()<br>
<br>
ResetCamera() is throwing an error<br>
<br>
terminate called after throwing an instance of 'std::bad_alloc'<br>
what(): std::bad_alloc<br>
<br>
Has anyone seen this particular error before with just calling ResetCamera()<br>
on a renderView?<br>
<br>
Thanks,<br>
<br>
Joe<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~<br>
Joseph G. Hennessey Ph.D., SAIC<br>
Team SAIC<br>
Army Research Lab<br>
DOD Supercomputing Resource Center<br>
<br>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>