Regarding the adding attributes error message, it is likely that the ActiveSource is not an MPAS reader at that point in time. …GetActiveSource().__class__ should tell your what it is.
Regarding the level setting - what is yourReader.ShowMultilayerView? The docs indicated a value of 1 makes VerticalLayer immaterial. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jul 30, 2015 at 9:52 AM, Eatmon Jr., Arnold <[email protected]> wrote: > 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. > > _______________________________________________ > 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 > >
_______________________________________________ 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
