That did exactly what I wanted.
Thanks David! Christopher R. Neal Graduate Student Center for Compressible Multiphase Turbulence Mechanical and Aerospace Engineering Department University of Florida Cell: (863)-697-1958 E-mail: [email protected] ________________________________ From: David E DeMarle <[email protected]> Sent: Monday, August 3, 2015 4:24 PM To: Neal,Christopher R Cc: [email protected] Subject: Re: [Paraview] How to extract a list of the plotting variable names with Python Try: src = GetActiveSource() src.CellData.keys() David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Aug 3, 2015 at 4:20 PM, Neal,Christopher R <[email protected]<mailto:[email protected]>> wrote: Hi, I'm trying to extract a list of the names of the available plotting variables from a data set that I have loaded. The variable names are all related to cell data in the data set. Something like ['Density','Pressure','Temperature','Velocity'] is what I am trying to extract from the Ensight Reader data object using Python. I have a feeling that this is something that can be extracted from the vtkPVDataInformation Class, but I'm unsure about which method to use. Thank you, Christopher R. Neal Graduate Student Center for Compressible Multiphase Turbulence Mechanical and Aerospace Engineering Department University of Florida Cell: (863)-697-1958<tel:%28863%29-697-1958> E-mail: [email protected]<mailto:[email protected]> _______________________________________________ Powered by www.kitware.com<http://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
