[Paraview] Using PythonProgrammableFilter as a reader

2014-10-12 Thread Jan Brezina
Hi, I'm trying to use vtkPythonProgrammableFilter to implement a reader in Python. The problem is in passing the filename (form the filebrowser dialog) to the python script (the RequestData script). I need a method in vtkPythonProgrammableFilter with one char * argument that can behave like SetFil

Re: [Paraview] Using PythonProgrammableFilter as a reader

2014-10-12 Thread Utkarsh Ayachit
I am not sure I follow why SetParameter won't work in your case. Something like following is what I often end up using for such cases. On Sun, Oct 12, 2014 at 2:00 PM, Jan Brezina wrote: > Hi, > > I'm trying to use vtkPythonProgrammableFilter to implement a reader i