<div dir="ltr">Hi,<div><br></div><div>I would like to animate a parameter with a python programmable filter using keyframes. In this simple example, I just want to rescale a scalar variable by a constant factor (alpha). But I want to animate this factor. Here is my filter:</div><div><br></div><div><div>from paraview.vtk import dataset_adapter as DA</div><div>self.SetParameter('alpha', 0.1)</div><div>pdi = self.GetInputDataObject(0,0)</div><div>pdo = self.GetOutputDataObject(0)</div><div>pdo.CopyAttributes(pdi)</div><div>d = alpha * inputs[0].PointData['temperature']</div><div>arr = DA.numpyTovtkDataArray(d, 'temperature_scaled')</div><div>pdo.GetPointData().AddArray(arr)</div><div><br></div></div><div>This script works, but I can't set alpha using keyframes. It just doesn't show up in the animation view.</div><div><br></div><div>Perhaps I have understood what the whole "SetParameter" framework does. What is the point of setting these parameters if they can't be modified from outside the filter?</div><div><br></div><div>Thanks in advance for your help.</div><div><br></div><div>-Ryan</div></div>