Re: [Paraview] CGNSSeriesReader - python - cell arrays

2016-09-30 Thread Crepier, Pierre
That works perfectly! For some reason I could not see the GetPropertyValue and ListProperties functions in the dir output of the object. Thanks a lot for the solution. ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | p.crep...@marin.nl |

Re: [Paraview] CGNSSeriesReader - python - cell arrays

2016-09-30 Thread Andy Smith
Would something like this work for you? from __future__ import print_function from paraview.simple import * cgns = CGNSSeriesReader(FileNames=['SC10_steady.cgns']) availableCellArrays = cgns.GetPropertyValue('CellArrayInfo')[::2] print(availableCellArrays) On Fri, Sep 30, 2016 at 2:57 AM,

[Paraview] CGNSSeriesReader - python - cell arrays

2016-09-30 Thread Crepier, Pierre
Hi everybody, This is my first e-mail to this mailing list after looking around a lot in the wiki/manual/google. I am busy trying to automate CGNS data loading using a python script but I am now stuck at listing the variables contained in the CGNS file The CGNS data is 3D data and contains