[Paraview] [EXTERNAL] Re: Zoom to data is not correctly captured in a python trace.
Scott, W Alan
wascott at sandia.gov
Tue Aug 19 15:57:32 EDT 2014
Thanks for the reply, I will let my user know and add a bug.
Alan
-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
Sent: Tuesday, August 19, 2014 1:56 PM
To: Scott, W Alan
Cc: paraview at paraview.org
Subject: [EXTERNAL] Re: [Paraview] Zoom to data is not correctly captured in a python trace.
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