[Paraview] adjusting vertical level setting via paraview python script

Eatmon Jr., Arnold aeatmon at lanl.gov
Thu Jul 30 09:52:50 EDT 2015


I’m one of the DSS interns working under Jim Ahrens for the summer. I am using paraviews python script in the HPC and I’m having an issue adjusting an attribute of paraview.simple.netcdfmpasreader “VerticalLevel”.

I want to adjust it from the default to one and attempted:

paraview.simple.NetCDFMPASreader.VerticalLevel = 1
paraview.simple.NetCDFMPASreader.VerticalLevel = ‘1'
And
paraview.simple.GetActiveSource().VerticalLevel = 1

The first two operate with no errors doing nothing in the program and the last returns an error that the class bars adding attributes to prevent errors due to spelling.

How do I adjust the vertical level setting?

Thank you in advance for your assistance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150730/60bc32cb/attachment.html>


More information about the ParaView mailing list