condition in a read node

hey,

what is easy in a field that expect digits (e.g..: (frame>10?5:0)) drives me nuts in the text field of a read node.

i want to be able to change a filename according to the error state of another node.
like:
([python nuke.toNode("TestNode").error()] > 0)? "filename1" : "filename2"
of course the above does not work like that.
does anyone have a working syntax for something like this?

cheers & thanks

alex

No Responses to “condition in a read node”

Post a Comment