[Paraview] Zoom to data is not correctly captured in a python trace.
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Aug 19 15:56:07 EDT 2014
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 <wascott at 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
>
More information about the ParaView
mailing list