Try dependent() instead. that's for downstream connections (and expressions)



On 30 September 2011 11:25, kernowkid <[email protected]>wrote:

> **
> Hi,
> I'm trying to write a small script to turn off the thumbnails of any exr
> files in a script. This is easy enough:
>
> for a in nuke.allNodes('Read'):
> if 'exr' in a['file'].value():
> a['postage_stamp'].setValue(0)
>
> But how can I amend this to only work on unconnected nodes. I've been
> fiddling with dependancies()=='none' but can't get anthing to work
>
> Thanks for any help
>
> K
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>


-- 
colin alway
_______________________________________________
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