<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Times New Roman;}</style></head><body>Hi everybody,<br> I have a question about the using of JavaScript API in ParaViewWeb.<br> I succeeded in loading a file using OpenDataFile via a plugin.<br><br> And now I want to apply a filter to my files.<br> When I tried to call, for example ImageThreshold<br> <br> p = paraview();<br> var reader = plugin.load('myFile.mhd'); //I succeeded in loading this file<br> reader = p.ImageThreshold(reader); // it's here I want to apply a filter, but I have the followed error : <span style="color: #ff0000; font-family: 'dejavu sans mono', monospace; font-size: 11px; line-height: 12px; white-space: pre-wrap; ">Object #<Paraview> has no method 'ImageThreshold' </span><span style="font-family: Arial; "><span> <span style="font-family: 'Times New Roman'; "><span>I also tried with reader = p.vtkImageThreshold but the same error.</span></span> </span></span><br> <br> So I want to know how to call a ParaView function in JavaScript Terminal of PWConsole?<br> Thank in advance<br><span> </span><br> <br> <br> <br> </body></html>