Call filter multiple times after changes on slider property

I compiled a filter which works with a slider value and a Python script.
The first time I run the filter it works fine.
Then, if I change the value of slider and do “Apply” the filter doesn’t work anymore; the Python script is executed but the Pipeline doesn’t update.
How can I update the pipelines sources that depends from the filter?

Thank you in advance


Please share the source of your filter.

You probably forgot to call this->Modified() in your setter, or use vtkSetMacro instead.

The filter is a Python programmable filter with an xml file compiled into a dll
Where should I insert the Modified() condition?

Thank you

Please share your code.

I solved it.

Thank you