Hi All,<br><br>I am getting errors with scalar arrays in my custom filter. When I open paraview and run my filter for the first time, I get proper output but if I change the parameters of the filter I start getting garbage values till I quit paraview and start again.
<br><br>I took out different parts of my code to see if it was actually producing bad values and am guessing now that the problem is not clearing up the old array.<br><br>I use the AddArray method to add the scalar array to my output. Is there a method I can use to clean up the array after use so that it doesn't mess up the next time? Or something to initialize a clean array in the beginning of the code so that it doesnt look at stale values?
<br><br>Thanks,<br>Bikash<br>