[Paraview] Get Key values from spread sheet

Cory Quammen cory.quammen at kitware.com
Tue Mar 22 09:48:02 EDT 2016


Arshpreet,

You probably need to fetch the data over to the client side with

Fetch(values_table)

before you can access the data array values. By default, the array
values are stored only on the server - you need to manually bring them
over to the client side before you can access them.

HTH,
Cory

On Tue, Mar 22, 2016 at 5:48 AM, Arshpreet Singh <arsh840 at gmail.com> wrote:
> I am getting trouble to find values after applying integrator filter.
>
> values_table = IntegrateVariables(Input=fullvolume)
> GetActiveViewOrCreate('RenderView')
>
> print value_table.PointData.keys()   # returns ['ion_pdf_n_c0', 'ion_pdf_n_c1']
> print value_table.CellData.keys() # returns ['Volume']
>
> I have given try to following methods but not able to get value of
> "Volume" and other.
>
> print values_table.CellData["Volume"]
> print value_tables.CellData.GetArray('Volume')
>
> Does paraview comes with any special method to get value of key from dictionary?
>
> --
>
> Thanks
> Arshpreet Singh
>
> I am Sikh boy, Learning by doing and Learning by teaching is my religion.
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> 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



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list