Damian, What you want to do is basically to process the data. To do so, the best way is to create a filter that will process them into the pipeline. If you work in Python, use the Programmable Filter. Take a look at the related wiki page: http://www.paraview.org/Wiki/Python_Programmable_Filter
Best, Joachim *Joachim Pouderoux* *PhD, Technical Expert* *Kitware SAS <http://www.kitware.fr>* 2015-10-20 9:38 GMT+02:00 DamB <[email protected]>: > Hello, > > I would like to check all cell types on a created pipeline slice with a > loop and do some further calculation based on the cell type. > My first test wit 'servermanager.Fetch()' failed, I have tried to get > access by using 'source.GetDataInformation() ...', but it does not work. > > I was only able to get some info about the cell type as follows: > 'print "vtkQuadraticQuad: "+str(vtkQuadraticQuad().GetNumberOfPoints())+" > CellType: "+str(vtkQuadraticQuad().GetCellType())' > > ------------------------------------------------------------ > system-konfig: > Paraview 4.0.1 64 Bit with Python 2.7.6 > OS Ubuntu 14.04 LTS 64 Bit > ------------------------------------------------------------ > > Regards, > Damian > _______________________________________________ > 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
