[Paraview] (no subject)

Rentschler Martin martin.rentschler at gmail.com
Fri Apr 29 06:06:23 EDT 2011


Hi,

I want to access the PointData of a Source using a python script.

So first I choose the Source by

>>> bla=GetActiveSource()

>>> bla

<paraview.servermanager.H5Part object at 0x46a39d0>

and then I would to access the data of that object, but

>>> Arrays=SOLID25_h5part.PointArrays

>>> Arrays

['Coords_0', 'Coords_1', 'Coords_2', 'SOLID25_h', 'SOLID25_index',
'SOLID25_normals_0', 'SOLID25_normals_1', 'SOLID25_normals_2',
'SOLID25_pressure', 'SOLID25_velocity_0', 'SOLID25_velocity_1',
'SOLID25_velocity_2', 'SOLID25_vmob_0', 'SOLID25_vmob_1', 'SOLID25_vmob_2',
'SOLID25_w']


Only gives me the names of the arrays. How do I then access to the Values of
for example 'Coords_0' ?


Best regards


Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110429/c5e497d2/attachment.htm>


More information about the ParaView mailing list