Hi all,<br><br>I have a small piece of python code in every paraview(3.98.0) animation, <br><div style="margin-left:40px"><span style="font-family:courier new,monospace"><br>from vtkRenderingCorePython import *;</span>
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:courier new,monospace">from vtkIOImagePython import *;</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:courier new,monospace">import paraview.vtk as vtk;</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:courier new,monospace"><br></span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:courier new,monospace">def start_cue(self):</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:courier new,monospace"> self.frame = 1; </span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:courier new,monospace"><br></span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:courier new,monospace"> self.w2i = vtkWindowToImageFilter();</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:courier new,monospace"> self.view = GetActiveView().GetRenderWindow(); </span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:courier new,monospace"> self.writer = vtkTIFFWriter();</span></p><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:courier new,monospace">...<br>
</span></p><br>But in output window, I got this error message,<br><span style="font-family:'Courier';font-size:8.25pt;color:#800000">ERROR: In ..\paraview\src\paraview\VTK\Rendering\Core\vtkWindowToImageFilter.cxx, line 146</span>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:'Courier';font-size:8.25pt;color:#800000">vtkWindowToImageFilter (14E3AFB0): Please specify a renderer as input!</span></p>
<p style="margin:0px;text-indent:0px"><font><span style="font-family:arial,helvetica,sans-serif"></span></font></p><p style="margin:0px;text-indent:0px"><font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></p>
<p style="margin:0px;text-indent:0px"><font><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(128,0,0)"><span style="color:rgb(0,0,0)">I checked the vtkWindowToImageFilter documentation and examples, it seems I was using the right format? How can I fix it? Many thanks!</span><br>
</span></span></font></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px"><font>Li Guan</font><br><font><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(128,0,0)"></span></span></font></p>
<font><span style="font-family:arial,helvetica,sans-serif"></span></font><p style="margin:0px;text-indent:0px;color:rgb(128,0,0)"><font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></p><br>