actually "error" is expression syntax, so something like this should work:

if nuke.expression( 'Read1.error' ):
        print 'oops'




On Sep 10, 2011, at 5:45 AM, Olivier Jezequel wrote:

> Hiya,
> I am still trying to build a little script that evaluate missing frames. I 
> want to use the command 'error' in a python script to make an action but 
> didn't find doc on it.
> i think it is a tcl, when you type error in a disable it will return 1 or 0 
> depending if there is error or not.
> How do i get nuke to evaluate the error in a python script ?
> 
> that kind of format :
> if error:
>   print 'oups'
> 
> 
> cheers
> Olivier
> _______________________________________________
> 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