I using VTKPythonAlgorithmBase to prototype a reader. I implemented the CanReadFile function in python but I’m unable make ParaView use it. I have 2 reader using the same extension, but only one return 1 in the function CanReadFile. But paraview keep showing me the dialogbox “Open Data With…” choose a reader. (the function are not called, I put prints statements to track the functions calls)
It is possible to implement the CanReadFile in python?
More info about this function in : https://www.paraview.org/Wiki/Writing_ParaView_Readers
ps: using Paraview 5.8.1 on linux