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