I wouldn’t bother with Python. (frame == root.first_frame || frame == root.last_frame) ? 1 : 0
-Nathan From: Jason P Nguyen Sent: Thursday, January 30, 2014 11:09 AM To: Nuke Python discussion Subject: [Nuke-python] expression to switch on off in switch node Hi all, Anyone knows an expression to to switch in the switch node from 0 to 1 on 1st & last frame? let's just say I want the switch node to be 1 at 1st & last frame & 0 for the rest of the seq. I tried first_frame!=1 but it doesn't switch. Thanks in advance, Jason Phong Nguyen Visual Effects Compositor (310) 893-3455 www.jasonpnguyen.com -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python