View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011200 | ParaView | Feature | public | 2010-09-01 13:15 | 2010-09-15 22:05 | ||||
Reporter | Utkarsh Ayachit | ||||||||
Assigned To | Utkarsh Ayachit | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 3.10 | |||||||
Summary | 0011200: Document exporting to CSV from python | ||||||||
Description | Document exporting to CSV from python: From Alan: For (dozens of times) Open same file Plot over line, slightly different line placement Integrate 2d plot Output data to spreadsheet view Export file to .csv file. This really is the only case I can think of for python and spreadsheet view - trying to format data such that you can export it to a csv file. But, to be able to output a filters output to a .csv file, this is the only way I know how... | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |||||||||||
|
Relationships |
Notes | |
(0022236) Utkarsh Ayachit (administrator) 2010-09-15 16:56 |
commit 7c6c6211c95526af4a2ba22f901dc9b65cfc7fe0 Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Date: Wed Sep 15 16:54:45 2010 -0400 Added CreateWriter function to use writer factory to create a writer. This makes it easier to create writer based on the filename for writing a dataset using the same logic that the GUI does to decide available writers. ------------------------------------------------------------------------------- Exporting CSV Data To export a csv from the cell or point data associated with a source, one can use the following: >>> writer = CreateWriter(".../foo.csv", source) >>> writer.FieldAssociation = "Points" # or "Cells" >>> writer.UpdatePipeline() >>> del writer Added to Wiki: http://www.paraview.org/Wiki/ParaView/Python_Scripting#Exporting_CSV_Data [^] |
(0022248) Alan Scott (manager) 2010-09-15 22:05 |
I find this an acceptable solution, since this case is probably fairly rare. Looked at the web page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-09-01 13:15 | Utkarsh Ayachit | New Issue | |
2010-09-01 13:15 | Utkarsh Ayachit | Relationship added | related to 0011150 |
2010-09-15 16:56 | Utkarsh Ayachit | Note Added: 0022236 | |
2010-09-15 16:56 | Utkarsh Ayachit | Status | backlog => @80@ |
2010-09-15 16:56 | Utkarsh Ayachit | Fixed in Version | => 3.10 |
2010-09-15 16:56 | Utkarsh Ayachit | Resolution | open => fixed |
2010-09-15 16:56 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit |
2010-09-15 22:05 | Alan Scott | Note Added: 0022248 | |
2010-09-15 22:05 | Alan Scott | Status | @80@ => closed |
2010-09-15 22:11 | Alan Scott | Relationship added | duplicate of 0011151 |
2011-06-16 13:10 | Zack Galbreath | Category | Feature Request => Feature |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |