<div dir="ltr">Joe,<div><br></div><div>Do you see the error if you comment out all the "<span style="font-size:12.8px">#Show stuff in renderView1" part?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Utkarsh</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 3:43 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">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.<wbr>mil</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">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('RenderV<wbr>iew')<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></div></div>______________________________<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/opensou<wbr>rce/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/ParaV<wbr>iew</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/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>