If you&#39;re running the python script in the paraview gui sometimes the messages are printed out to the python shell.  What version of paraview are you using?  <br><br>I&#39;m running paraview from the head of the repo.  The output I get from the OutputMessages window is:<br>
================<br>
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">ERROR: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 727</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);">vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.</span></p>

<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(128, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">Warning: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDataObject.cxx, line 920</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">vtkMultiBlockDataSet (0x4da0e00): Attempted to ShallowCopy from null.</span></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">Warning: In /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDataObject.cxx, line 920</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">vtkMultiBlockDataSet (0x4da3af0): Attempted to ShallowCopy from null.</span></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);"></p>
<p style="margin: 0px; text-indent: 0px; font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);"></p>================<br><br>The output I get from the python shell is:<br>===============<br>
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">Traceback (most recent call last):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">  File &quot;&lt;string&gt;&quot;, line 17, in &lt;module&gt;</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">  File &quot;/media/ssddrive/BUILDS/ParaView/release-parallel/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py&quot;, line 209, in __setattr__</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">    &quot;to add this attribute.&quot;)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">AttributeError: Attribute XArrayName does not exist.  This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">======================</span><br></span></p><br><div class="gmail_quote">
On Thu, Sep 29, 2011 at 5:57 AM, Luca Giannelli <span dir="ltr">&lt;<a href="mailto:bilogo@gmail.com">bilogo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello everybody,<div><br></div><div>I&#39;ve been using Paraview for quite a long time but I didn&#39;t need the python scripting up to now.</div><div>I want to execute a series of plot over line in numerous points and different time steps so it is nothing</div>

<div>I can afford to do manually.</div><div>Looking on the net I was able to find out how to record a macro and how to create a writer so I</div><div>ended up with this script:</div><div><br></div><div>--------------------------------------------------------------------</div>

<div><div>try: paraview.simple</div><div>except: from paraview.simple import *</div><div>paraview.simple._DisableFirstRenderCameraReset()</div><div><br></div><div>fotobioreattore_foam = GetActiveSource()</div><div>PlotOverLine2 = PlotOverLine( Source=&quot;High Resolution Line Source&quot; )</div>

<div><br></div><div>PlotOverLine2.Source.Point1 = [-0.035100001841783524, -0.03509980067610741, 0.0]</div><div>PlotOverLine2.Source.Point2 = [0.035100001841783524, 0.035100001841783524, 0.4300000071525574]</div><div><br>
</div>
<div>DataRepresentation7 = Show()</div><div><br></div><div>PlotOverLine2.Source.Point1 = [-0.0, 0.0, 0.0]</div><div>PlotOverLine2.Source.Point2 = [0.0, 0.0, 0.4300000071525574]</div><div><br></div><div>XYChartView4 = GetRenderView()</div>

<div>DataRepresentation7.XArrayName = &#39;arc_length&#39;</div><div>DataRepresentation7.SeriesVisibility = [&#39;U (0)&#39;, &#39;0&#39;, &#39;U (1)&#39;, &#39;0&#39;, &#39;U (2)&#39;, &#39;0&#39;, &#39;vtkValidPointMask&#39;, &#39;0&#39;, &#39;arc_length&#39;, &#39;0&#39;, &#39;Points (0)&#39;, &#39;0&#39;, &#39;Points (1)&#39;, &#39;0&#39;, &#39;Points (2)&#39;, &#39;0&#39;, &#39;Points (Magnitude)&#39;, &#39;0&#39;]</div>

<div>DataRepresentation7.UseIndexForXAxis = 0</div><div><br></div><div>Render()</div><div><br></div><div>#= create writer</div><div>source = PlotOverLine2 #PlotOverLine2.Source</div><div>writer = CreateWriter(&quot;/home/piota/csv.csv&quot;, source)</div>

<div>#writer = CreateWriter(&quot;/home/piota/csv.csv&quot;)</div><div>writer.FieldAssociation = &quot;Points&quot; # or &quot;Cells&quot;</div><div>writer.UpdatePipeline()</div><div>del writer</div></div><div>--------------------------------------------------------------------------</div>

<div><br></div><div>If I&#39;m not mistaken, this should write a csv.csv file in my home folder but it doesn&#39;t write anything. No error is reported when I run the script but still I get no output.</div><div>I&#39;m still a bit confused on which source I should specify, so I&#39;m pretty sure that the writer part is incorrect.</div>

<div><br></div><div>Can somebody help me filling it out properly?</div><div><br></div><div>Thx in advance.</div><div><br></div><font color="#888888"><div>Luca</div>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>