[expression {which + 1}]

-Nathan


-----Original Message----- From: Howard Jones
Sent: Thursday, February 07, 2013 4:59 PM
To: Nuke Python discussion ; Nuke user discussion
Subject: [Nuke-python] Tcl addition syntax

Hi

TCL is certainly not my strong point but how do you add to a value?

ie. I have a switch node running from 0-2 which I want to add 1 to in the label.

So the label would say version:1 to 3 rather than 0 to 2

Something like
version: [value which +1 ]
but works.

Simple I'm sure but couldn't find anything on the web.

Thanks
Howard_______________________________________________
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