<div dir="ltr">Hi Richard,<div><br></div><div>If you don't mind, let's keep the discussion on the list so that others may benefit from the discussion.</div><div><br></div><div>Outputting a vtkTable is the right thing to do. What I suspect is happening with the first error message is that if you execute a programmable source with the output set to one type of data set (e.g., vtkPolyData), there is a bug that doesn't let you switch to a different type of output. As a workaround, you can create a new Programmable Source, copy and paste your code from the original Programmable Source into the new one, and set the output type to vtkTableData *before* you click Apply.</div><div><br></div><div>To view line plots of your data, you'll need to create a Line Chart View by splitting the 3D Render View. To do this, look for the icon on the top right of the 3D Render View that has two vertically-oriented rectangles side by side (tool tip "Split Horizontal"). In the list of views that comes up, click on "Line Chart View". If your line plots are not visible right away, you will need to make them visible by clicking on the eye icon next to the Programmable Source. Voila, you should have a line plot.</div><div><br></div><div>Hope that helps,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 5:23 AM, no name <span dir="ltr"><<a href="mailto:keinepostnurmuell@gmail.com" target="_blank">keinepostnurmuell@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">Hey Cory<div><br></div><div>Thanks for the hint! I did some coding and I got stuck at the vtkTable as Output DataSet Type.</div><div><br></div><div><br></div><div>I used -> Programmable Source and then vtkTable which gives me the following error code:</div><div><br></div><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\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 810</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkPVDataRepresentationPipeline (000000009F2FC720): Input for connection index 0 on input port index 0 for algorithm vtkGeometryRepresentationWithFaces(00000000946A85F0) is of type vtkTable, but a vtkDataSet is required.</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\vtkDemandDrivenPipeline.cxx, line 810</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">vtkPVDataRepresentationPipeline (000000009F2FAB00): Input for connection index 0 on input port index 0 for algorithm vtkGeometryRepresentation(000000004FAC3570) is of type vtkTable, but a vtkDataSet is required.</span></p></div><div><br></div><div>for the code I am using:</div><div><br></div><div><pre style="margin-top:12px;margin-bottom:0px"><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">import</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,0,255)">numpy</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">as</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,0,255)">np</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'">switching_log </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'C:</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">Users</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">raphael</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">Desktop</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">logs auswertung</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">newsims</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">flat_Aex_1_E_-11</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">flat_12</span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(187,102,34)">\\</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">switching.log'</span><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">class</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,0,255)">DataFile</span><span style="font-family:'Courier New,courier'">(</span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">object</span><span style="font-family:'Courier New,courier'">):</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">def</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';color:rgb(0,0,255)">__init__</span><span style="font-family:'Courier New,courier'">(</span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier'">, filename, h_xyz, m_xyz):</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">_filename </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> filename</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">_h_xyz </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> h_xyz</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">_m_xyz </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> m_xyz </span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">def</span><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';color:rgb(0,0,255)">read_dat_file</span><span style="font-family:'Courier New,courier'">(</span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier'">):</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> data </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> np</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">genfromtxt(</span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">_filename, delimiter</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">''</span><span style="font-family:'Courier New,courier'">, \</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> usecols</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'">(</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">0</span><span style="font-family:'Courier New,courier'">, </span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">_h_xyz, </span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">self</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">_m_xyz), </span><span style="font-family:'Courier New,courier'">unpack</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier';color:rgb(0,128,0)">True</span><span style="color:rgb(64,128,128);font-family:'Courier New,courier';font-style:italic">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">return</span><span style="font-family:'Courier New,courier'"> data</span><br></pre>
<pre style="margin-top:0px;margin-bottom:0px;font-family:'Courier New,courier';color:rgb(102,102,102)"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'">log </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> DataFile(switching_log, </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">9</span><span style="font-family:'Courier New,courier'">, </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">13</span><span style="font-family:'Courier New,courier'">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'">data </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> log</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">read_dat_file()</span></pre>
<pre style="margin-top:0px;margin-bottom:0px;font-family:'Courier New,courier';color:rgb(186,33,33)"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'">A </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> np</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">rec</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">fromarrays(data, dtype</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> {</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'names'</span><span style="font-family:'Courier New,courier'">: [</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'Time'</span><span style="font-family:'Courier New,courier'">, </span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'Hx'</span><span style="font-family:'Courier New,courier'">, </span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'Mx'</span><span style="font-family:'Courier New,courier'">], </span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'formats'</span><span style="font-family:'Courier New,courier'">:[</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'int'</span><span style="font-family:'Courier New,courier'">,</span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'f8'</span><span style="font-family:'Courier New,courier'">, </span><span style="font-family:'Courier New,courier';color:rgb(186,33,33)">'f8'</span><span style="font-family:'Courier New,courier'">]})</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">print</span><span style="font-family:'Courier New,courier'"> A</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">dtype</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">names</span></pre>
<pre style="margin-top:0px;margin-bottom:0px;font-family:'Courier New,courier'"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(0,128,0)">for</span><span style="font-family:'Courier New,courier'"> name </span><span style="font-family:'Courier New,courier';font-weight:600;color:rgb(170,34,255)">in</span><span style="font-family:'Courier New,courier'"> A</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">dtype</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">names:</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> array </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> A[name]</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:'Courier New,courier'"> output</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">RowData</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">append(array, name)</span></pre></div><div><br></div><div>Now I could use the "vtkMultiBlockSet" or "vtkPolyData" as output DataSet, but then I get: </div><div><p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></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 19, 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 41, in RequestData</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> File "C:\Program Files (x86)\ParaView 4.3.1\lib\paraview-4.3\site-packages\vtk\numpy_interface\dataset_adapter.py", line 121, in __getattr__</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> return getattr(self.VTKObject, name)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">AttributeError: RowData</span></p><p style="margin:0px"><br></p><p style="margin:0px">Because output.rowdata needs a vtkTable. I found the vtkTable in the Paraview Guide in Chapter 13.2.1 "Reading a CSV" file - which is basically my thing, but I dont exactly understand where the difference between the example and my situation lies ...</p><p style="margin:0px"><br></p><p style="margin:0px">Thanks for your help!</p><p style="margin:0px"><br></p><p style="margin:0px">Richard</p></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2015 at 15:00, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.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">Hi Richard,<div><br></div><div>You won't be able to set a vtkDataArray subclass as the input to a PlotOverLine filter. Instead, you should read the log files in a Programmable Source, and connect the Programmable Source to the PlotOverLine filter.</div><div><br></div><div>See Chapter 13 of the ParaView Guide [1].</div><div><br></div><div>Hope that helps,</div><div>Cory</div><div><br></div><div>[1] <a href="http://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v4.3&type=data&os=all&downloadFile=TheParaViewGuide-v4.3-CC-Edition.pdf" target="_blank">http://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v4.3&type=data&os=all&downloadFile=TheParaViewGuide-v4.3-CC-Edition.pdf</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Sep 8, 2015 at 3:57 AM, no name <span dir="ltr"><<a href="mailto:keinepostnurmuell@gmail.com" target="_blank">keinepostnurmuell@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">Hey there<div><br></div><div>I have some hundred VTU files and I want to plot some data in a graph (Plot over Line - POL) next to it. The Problem is, the data from these POLs is coming from a simple log file, basically conaining only x and y values (like two np.arrays).</div><div><br></div><div>I can transform the arrays via </div><div><br></div><div><pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;color:rgb(57,51,24);word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,139)">from</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> vtk</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">util </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,139)">import</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> numpy_support
values </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> np</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">array</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">((</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">x</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">y</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">))</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">
vtk_values </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> numpy_support</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">numpy_to_vtk</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">(</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">values</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> array_type</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">vtk</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">VTK_FLOAT</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">)</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">
vtk_values</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">setName</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">(</span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">'values_2_show'</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">)</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">
vtk_values</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">setComponentName</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">(</span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">1</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">'x_value'</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">)</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">
vtk_values</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">setComponentName</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">(</span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">2</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">'y_value'</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">)</span></code></pre></div><div>But so far I have no success with how to change the input (source)</div><div><pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;color:rgb(57,51,24);word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">VTUFILE </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(43,145,175)">FindSource</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">(</span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">'VTUFILE*'</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">)</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">
plotOverLine1 </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(43,145,175)">PlotOverLine</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">(</span><span style="margin:0px;padding:0px;border:0px;color:rgb(43,145,175)">Input</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">VTUFILE</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(43,145,175)">Source</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">'High Resolution Line Source'</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">)</span></code></pre></div><div>to a simple array.</div><div><br></div><div>Thanks for any help!</div><div>Richard</div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>