I ‘ve always use the following as an "auto switch” expression in a switch node 
that automatically picks an alternative input in case there is an issue with 
the the read node:

nuke.thisNode().hasError()

However, I’m making a group/widget that I’d like to automatically have an 
internal switch that senses whether the user chooses to manually use an input 
into the group/widget or switch to an alternative default internal path.

The issue is that if the user decides not to connect a read/input into the 
group/widget it doesn’t actually create an error the same way a bad read input 
so my “auto switch" expression doesn’t trigger.

I though about putting a node upstream that would react somehow “true” to any 
signal but couldn’t think of anything.

Does anyone have any expression ideas on how to get a switch to automatically 
choose an alternative input if the first input stream has no input?  

Thanks!_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to