Hi all, I have a small piece of python code in every paraview(3.98.0) animation,
from vtkRenderingCorePython import *; from vtkIOImagePython import *; import paraview.vtk as vtk; def start_cue(self): self.frame = 1; self.w2i = vtkWindowToImageFilter(); self.view = GetActiveView().GetRenderWindow(); self.writer = vtkTIFFWriter(); ... But in output window, I got this error message, ERROR: In ..\paraview\src\paraview\VTK\Rendering\Core\vtkWindowToImageFilter.cxx, line 146 vtkWindowToImageFilter (14E3AFB0): Please specify a renderer as input! I checked the vtkWindowToImageFilter documentation and examples, it seems I was using the right format? How can I fix it? Many thanks! Li Guan
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
