<div dir="ltr">Hey<div><br></div><div>I am working with time steps (100s of VTU files) and I run programmable sources along them. Everything was fine till some hours ago, where my code stopped working and my old (working code) also ... So I cut it down to a very simple thing, that still does not work - here my steps:</div><div><br></div><div>Open ParaView </div><div>Open 100 VTU* files</div><div>Apply</div><div>Sources -> Programmable Source -> Choose vtkTable as Output Data Set Type</div><div>Script: </div><div><span style="font-family:'Courier New,courier'">t </span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">=</span><span style="font-family:'Courier New,courier'"> inputs[</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(102,102,102)">.</span><span style="font-family:'Courier New,courier'">GetInformation()</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">Get(vtk</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">vtkDataObject</span><span style="font-family:'Courier New,courier';color:rgb(102,102,102)">.</span><span style="font-family:'Courier New,courier'">DATA_TIME_STEP())</span></div>
<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'"> t</span></pre>
<pre style="margin-top:0px;margin-bottom:12px;font-family:'Courier New,courier'"><br></pre><pre style="margin-top:0px;margin-bottom:12px;font-family:'Courier New,courier'">which returns (in the output window):</pre><pre style="margin-top:0px;margin-bottom:12px"><p style="font-family:'Courier New,courier';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="font-family:'Courier New,courier';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="font-family:'Courier New,courier';margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> File "<string>", line 2, in RequestData</span></p><p style="font-family:'Courier New,courier';margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">IndexError: list index out of range</span></p><p style="font-family:'Courier New,courier';margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></span></p><p style="margin:0px"><font face="arial, sans-serif"><span style="white-space:normal">Which worked really fine before. So what am I missing here?</span></font></p><p style="margin:0px"><font face="arial, sans-serif"><span style="white-space:normal"><br></span></font></p><p style="margin:0px"><font face="arial, sans-serif"><span style="white-space:normal">Thanks</span></font></p><p style="margin:0px"><font face="arial, sans-serif"><span style="white-space:normal">Richard</span></font></p></pre></div>