Re: [Paraview] X and Y bounds in python

2016-08-30 Thread Andy Smith
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 <
salazardet...@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
>
>
___
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


[Paraview] X and Y bounds in python

2016-08-29 Thread Salazar De Troya, Miguel
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