<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Times New Roman;}</style></head><body>Hi everybody,<br>I'm writing some .xml ServerManager file for a ParaView Plugin.<br>Our class have a function likes this :<br><span style="color:#cc0000">double calculate(<wbr>vtkImagedata* voi)</span> that return a double value calculated from the vtkImageData.<br><br>I loaded the plugin into Paraview. I use the Python Shell and when I call <span style="color: #c00000;">myReturnedValue</span><span style="color:#cc0000"><span style="color: #c00000;"> = My</span>Filter.<wbr>calculate(<wbr>proxy)</span> (proxy is a vtkImageData type), I always have the following error : <span style="color:#cc0000">AttributeError : 'function' object has no attribute 'calculate'</span><br><br>I searched in the <span style="color: #c00000;">filters.xml</span> and found something mention about function. I wonder if we can use these descriptions to access to the function (this function is nothing similar to any vtk function, don't override any of them). I think that I have to add something like '<span style="color:#cc0000">function = calculate</span>' so that the function is recognized in ParaView as well as Python but I can't find any exemple.<br><br>Do you have any idea? Thank you in advance.<br></body></html>