Using DataSetCSVWriter should do the trick. Utkarsh
On Mon, Nov 16, 2009 at 10:14 AM, NURI Adrien <[email protected]> wrote: > Hi, > > In fact, I'm working in script Pyhton. I'm using Paraview V3.4 and V3.6.1. > My script uses a source's file "ensightcase", then I apply a filter > "ExtractBlock" to keep only the data along a surface. Then, I would like to > create a file "CSV" with all the values of my variables on the extracted > surface. > > Later, I'll apply a post processing in order to calculate the Max, Min, and > Moy of all the variables (temperature, pressure, speed...) along the surface. > > So, my problem is how I can create a file CSV in script Python. > Thanks. > > Adrien > > > -----Message d'origine----- > De : Utkarsh Ayachit [mailto:[email protected]] > Envoyé : vendredi 13 novembre 2009 18:14 > À : NURI Adrien > Cc : [email protected] > Objet : Re: [Paraview] How to export data from an ExtractBlock in a table? > > What do you mean by export to a table? Are you simply interested in > looking at the raw point data or cell data values? Or do you want to > create a vtkTable? > > > Utkarsh > > On Fri, Nov 13, 2009 at 11:24 AM, NURI Adrien > <[email protected]> wrote: >> Hello, >> >> >> >> I'm using paraview in batch, and I would like to export data from an >> ExtractBlock filter in a table. >> >> I would like to use values (temperature, pressure...) of the extracted part >> in >> a python script for post-processing. >> >> Is it possible to do that? >> >> Thanks a lot. >> >> >> >> >> >> >> >> >> >> ________________________________ >> Le contenu de ce message est prévu uniquement pour le destinataire nommé. Il >> contient des informations qui peuvent être confidentielles. A moins d'être >> le destinataire nommé ou autorisé par le destinataire, vous ne pouvez pas >> copier, employer ou révéler à une autre personne le contenu de ce message. >> Si vous le recevez par erreur, s'il vous plait, informez nous immédiatement >> et détruisez le. >> >> The contents of this e-mail are intended for the named addressee only. It >> contains information that may be confidential. Unless you are the named >> addressee or an authorized designee, you may not copy or use it, or disclose >> it to anyone else. If you received it in error please notify us immediately >> and then destroy it. >> >> _______________________________________________ >> 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 >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> > > > Le contenu de ce message est prévu uniquement pour le destinataire nommé. Il > contient des informations qui peuvent être confidentielles. A moins d'être le > destinataire nommé ou autorisé par le destinataire, vous ne pouvez pas > copier, employer ou révéler à une autre personne le contenu de ce message. Si > vous le recevez par erreur, s'il vous plait, informez nous immédiatement et > détruisez le. > > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or disclose > it to anyone else. If you received it in error please notify us immediately > and then destroy it. > _______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
