<div dir="ltr"><div>Hi Patrik,<br><br></div>You need to specify what columns in your table from your csv file correspond to the point coordinates for your points. If you look at the information tab you should be able to see how many points have been created by the Table to Points filter.<br>
<br>Regards,<br>Andy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 3:01 PM, Patrik Blahuta <span dir="ltr"><<a href="mailto:patrik.blahuta@gmail.com" target="_blank">patrik.blahuta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">After I put this text into script I ll get:<div><p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\General\vtkTableToPolyData.cxx, line 111</span></p>


<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkTableToPolyData (000000000A9D63B0): Failed to locate  the columns to use for the point coordinates</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 754</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkPVCompositeDataPipeline (000000000AA22D50): Algorithm vtkTableToPolyData(000000000A9D63B0) returned failure for request: vtkInformation (0000000009DE4EC0)</span></p>


<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Debug: Off</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Modified Time: 132193</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Reference Count: 1</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Registered Events: (none)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Request: REQUEST_DATA</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FORWARD_DIRECTION: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FROM_OUTPUT_PORT: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  ALGORITHM_AFTER_FORWARD: 1</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\General\vtkTableToPolyData.cxx, line 111</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkTableToPolyData (000000000A9D79B0): Failed to locate  the columns to use for the point coordinates</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 754</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkPVCompositeDataPipeline (000000000AA21850): Algorithm vtkTableToPolyData(000000000A9D79B0) returned failure for request: vtkInformation (000000000A181420)</span></p>


<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Debug: Off</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Modified Time: 137691</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Reference Count: 1</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Registered Events: (none)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Request: REQUEST_DATA</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FORWARD_DIRECTION: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FROM_OUTPUT_PORT: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  ALGORITHM_AFTER_FORWARD: 1</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\Core\vtkDelaunay2D.cxx, line 816</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkDelaunay2D (0000000009D3A940): ERROR: Edge [239 5] is non-manifold!!!</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 754</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkPVCompositeDataPipeline (000000000AA246B0): Algorithm vtkDelaunay2D(0000000009D3A940) returned failure for request: vtkInformation (000000000AB1CC20)</span></p>


<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Debug: Off</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Modified Time: 163117</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Reference Count: 1</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Registered Events: (none)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Request: REQUEST_DATA</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FORWARD_DIRECTION: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FROM_OUTPUT_PORT: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  ALGORITHM_AFTER_FORWARD: 1</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\Core\vtkDelaunay2D.cxx, line 816</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkDelaunay2D (00000000103D21F0): ERROR: Edge [239 5] is non-manifold!!!</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 754</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkPVCompositeDataPipeline (0000000011DD1500): Algorithm vtkDelaunay2D(00000000103D21F0) returned failure for request: vtkInformation (0000000011F7EDC0)</span></p>


<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Debug: Off</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Modified Time: 697676</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Reference Count: 1</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Registered Events: (none)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  Request: REQUEST_DATA</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FORWARD_DIRECTION: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  FROM_OUTPUT_PORT: 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  ALGORITHM_AFTER_FORWARD: 1</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 21, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">  File "<string>", line 9, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">TypeError: InsertNextCell() takes exactly 2 arguments (3 given)</span></p></div></div><div class="gmail_extra"><br clear="all"><div>

<p style="font-size:11pt;font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt"><b><span style="font-family:'Baskerville Old Face',serif">S pozdravom / Kind regards,</span></b></p><p style="font-size:11pt;font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt">

<span style="font-family:'Baskerville Old Face',serif"> </span></p><p style="font-size:11pt;font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt"><b><span style="font-family:'Baskerville Old Face',serif">Patrik Blahuta</span></b></p>

</div>
<br><br><div class="gmail_quote">2014-03-18 19:21 GMT+01:00 Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">If you use the Programmable Filter you can connect the points with the following script:<br>pdi = self.GetPolyDataInput()<br>pdo =  self.GetPolyDataOutput()<br>numPoints = pdi.GetNumberOfPoints()<br>pdo.Allocate()<br>


for i in range(0, numPoints-1):<br>    points = [i, i+1]<br>    # VTK_LINE is 3<br>    pdo.InsertNextCell(3, 2, points)<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Mar 18, 2014 at 2:10 PM, Patrik Blahuta <span dir="ltr"><<a href="mailto:patrik.blahuta@gmail.com" target="_blank">patrik.blahuta@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello, </span><div style="font-family:arial,sans-serif;font-size:13px">


<br></div><div style="font-family:arial,sans-serif;font-size:13px"><pre style="white-space:pre-wrap;line-height:19.600000381469727px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word">
I am new using the paraview software. I would like to ask if you can help me with connecting points with line. I opened my .csv file and made table to points. That just shown me points in 3D view. Can you give me please tutor how to connect them?</pre>



<pre style="white-space:pre-wrap;line-height:19.600000381469727px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word"><br></pre><pre style="white-space:pre-wrap;line-height:19.600000381469727px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word">
Thanks </pre><pre style="white-space:pre-wrap;line-height:19.600000381469727px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word"><br>
</pre><div><p style="font-size:11pt;font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt"><b><span style="font-family:'Baskerville Old Face',serif">Kind regards,</span></b></p><span><font color="#888888"><p style="font-size:11pt;font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt">



<span style="font-family:'Baskerville Old Face',serif"> </span></p><p style="font-size:11pt;font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt"><b><span style="font-family:'Baskerville Old Face',serif">Patrik</span></b></p>



</font></span></div></div>
</div>
<br></div></div>_______________________________________________<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></div>
</blockquote></div><br></div>
</blockquote></div><br></div>