node['disable'].value()

If it’s True, the node is disabled.

-Nathan



From: Richard Bobo 
Sent: Wednesday, May 16, 2012 6:07 PM
To: Nuke-Users Mailing List 
Subject: [Nuke-users] Python Question - How to test for disabled node…?

Hi, 

Anyone know a good way to test a node to see if it is disabled? I want to be 
able to ignore all disabled Write nodes in my script. I figured out how to 
ignore unconnected nodes and nodes without any pathname, but I haven't stumbled 
on the method for checking if the node is disabled, yet...

Thanks for any help,

Rich




Rich Bobo 
Senior VFX Compositor


Mobile:  (248) 840-2665
Web:  http://richbobo.com/ 


"Failure is the opportunity to begin again more intelligently."
- Henry Ford
















--------------------------------------------------------------------------------
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to