[Paraview] X and Y bounds in python

Andy Smith agsmith424 at gmail.com
Tue Aug 30 09:28:02 EDT 2016


Miguel,

Can you try:

bounds = myObject.GetDataInformation().GetBounds()

where bounds is an array containing [xmin, xmax, ymin, ymax, zmin, zmax]

-Andy

On Mon, Aug 29, 2016 at 6:44 PM, Salazar De Troya, Miguel <
salazardetro1 at llnl.gov> wrote:

> Hello
>
> I’ve got an object opened that consists on an unstructured mesh with some
> cell data. In the Information tab, I can read the bounds for the X and Y
> coordinates, how can I extract this information in a python script?
>
> Thanks
> Miguel
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160830/386c00f4/attachment.html>


More information about the ParaView mailing list