Alan, With git/master, it translates to something like this:
renderView1.ResetCamera(-10.0, 10.0, -10.0, 10.0, -10.0, 10.0) Where the values are indeed the current data bounds. But I think we can add API to "ZoomTOData" in Python using a data source rather that current bounds. Feel free to add a bug/feature request. Utkarsh On Tue, Aug 19, 2014 at 3:42 PM, Scott, W Alan <wasc...@sandia.gov> wrote: > From a user: > > I'm trying to create a Python script which will loop through a set of Exodus > block IDs and will output an image for each block. I started the trace and > tried to use the "Zoom to Data" button, but this didn't translate well into > the python script - instead I got a discrete camera view, which doesn't lend > well to a general script. Is there a command I can pass to zoom to whatever > data I'd like? > > Thanks, > > Alan > > > > > _______________________________________________ > 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 > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > _______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview