Hello,

I am getting an error on running a python script with pvpython and ParaView
5.3.0 on linux.

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')

# uncomment following to set a specific view size
renderView1.ViewSize = [1200, 600]

# Properties modified on renderView1
renderView1.Background = [1.0, 1.0, 1.0]

#Show stuff in renderView1
.
.
.

# reset view to fit data
renderView1.ResetCamera()

ResetCamera() is throwing an error

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Has anyone seen this particular error before with just calling ResetCamera()
on a renderView?

Thanks,

Joe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joseph G. Hennessey Ph.D., SAIC
Team SAIC
Army Research Lab
DOD Supercomputing Resource Center

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to