Re: [Paraview] CGNSSeriesReader - python - cell arrays

2016-09-30 Thread Crepier, Pierre
the design of anti-roll tanks<http://www.marin.nl/web/News/News-items/On-the-design-of-antiroll-tanks-1.htm> From: Andy Smith [mailto:agsmith...@gmail.com] Sent: Friday, September 30, 2016 5:04 PM To: Crepier, Pierre Cc: paraview@paraview.org Subject: Re: [Paraview] CGNSSeriesReader - python - c

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