<div dir="ltr"><div><div>Hi,<br><br></div>I would like to create a plugin that uses h5py and numpy to read a file, do some operations on it and return VTK objects.<br></div><div>Would it be possible to do the same thing as <a href="http://www.paraview.org/Wiki/Animating_legacy_VTK_file_series#Making_custom_readers_work_with_file_series">http://www.paraview.org/Wiki/Animating_legacy_VTK_file_series#Making_custom_readers_work_with_file_series</a><br></div><div>but instead of using a <span class="gmail-sc3"><span class="gmail-st0">vtkPDataSetReader use a vtkPythonProgrammableSource?<br><br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0">I have made a (very naive) try, attached to this post.<br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0">When using this to read a series of files I get the errors (version 5.2.0 64-bit) shown below.<br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0">To test, just use any hdf5 file. (.h5)<br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0"><br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0">Thanks for any help,<br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0">Daan<br></span></span></div><div><span class="gmail-sc3"><span class="gmail-st0"><br><br><br><br>ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 439<br>vtkPVSessionCore (0x100da30): Failed to instantiate vtkSIFileSeriesReaderProxy<br><br><br>global_id: 4875<br>location: 2<br>[paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy"<br>[paraview_protobuf.DefinitionHeader.server_class]: "vtkSIFileSeriesReaderProxy"<br>[paraview_protobuf.ProxyState.xml_group]: "sources"<br>[paraview_protobuf.ProxyState.xml_name]: "JorekReadH5"<br>[paraview_protobuf.ProxyState.subproxy] {<br>  name: "Reader"<br>  global_id: 4864<br>}<br>############ ABORT #############<br>ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 794<br>vtkPVSessionCore (0x100da30): No object with global-id: 4875<br><br></span></span></div></div>