Do you just want it to be animating back and forth every frame?

If so, you can just use this expression:

(frame - 1) % 2


Hugh Macdonald
nvizible – VISUAL EFFECTS

[email protected]
+44(0) 207 659 2038
+44(0) 7773 764 708

www.nvizible.com

On 6 Aug 2011, at 12:02, Daisuke Maki wrote:

> Hi there.
> 
> Say i have a switch node..
> I want to animate the input parameter..
> 
> Frame 10 = set input of the switch node to be 1
> Frame 11 = set it 0
> Frame 12 = set it 1
> 
> 
> How would I do this inn python?
> 
> also is there a nuke python command to get frame range set for the project?
> 
> Many thanks!
> D
> 
> -- 
> ~ Smile today ~
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to