<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi all,</div><div><br></div><div>I would like to automate exporting csv files from countour of vtk files. I am tracing the steps in paraview, but it somehow misses the last part, saving/exporting as csv. When I do it manually, it saves <i>n</i> csv files, where <i>n </i>is the number of blocks I have in my simulation. I have successfully saved as csv files PlotOverLine output, and thus I have tried similar procedure with this:</div><div><br></div><div>(…)</div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Contour1 = Contour( PointMergeMethod=<span style="color: rgb(209, 47, 27);">"Uniform Binning"</span> )</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Contour1.PointMergeMethod = <span style="color: #d12f1b">"Uniform Binning"</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Contour1.ContourBy = [<span style="color: #272ad8">'POINTS'</span>, <span style="color: #272ad8">'PHI'</span>]</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Contour1.ComputeNormals = <span style="color: #272ad8">0</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Contour1.Isosurfaces = [<span style="color: #272ad8">0.0</span>]</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">source = Contour1</div></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);"><div style="margin: 0px; color: rgb(209, 47, 27);"><div style="margin: 0px;"><span style="color: rgb(0, 0, 0);">name = </span>"LevelSet.csv"</div></div></div></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">writer = CreateWriter(name , source)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">writer.FieldAssociation = <span style="color: #d12f1b">"Points"</span> <span style="color: #008400"># or "Cells"</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">writer.UpdatePipeline()</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #bb2ca2">del</span> writer</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px;">However, I obtain the following error message</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/VTKExtensions/Default/vtkCSVWriter.cxx, line 82</div><div style="margin: 0px;">vtkCSVWriter (0x1213ab5a0): Unable to open file: /LevelSet<i>(...)</i>.csv</div></div><div><div class="post-text" itemprop="text"><p>Is there any way to do it?</p><div>Thank you very much in advance,</div><div>Enrique</div><p><br></p><p><br></p></div></div></body></html>