Try, keyframe.Interpolation = "Boolean"
On Thu, Mar 1, 2012 at 7:40 AM, Marc A. Kastner <[email protected]> wrote: > Hello, > > I am trying to write a python script for a project where I need to animate > stuff. When doing it manually, I usually use the Step interpolation feature > between keyframes. How do I get such a behaviour with a Python skript? I > tried following code snipplet in Python shell: > > keyframe = CompositeKeyFrame() > keyframe.Interpolation = 'Step' (This attribute is default 'Ramp' so I > thought this would work) > > But it says: "ValueError: Step is not a valid value.". > > Thanks in advance. > > - Marc A. Kastner > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
