May
13
set value question
Posted in: Nuke Plugins & ScriptsHow can I return and set the value of a checkbox please? I can easily find lots of examples on other values, read paths etc but not this one.. I’ve tried:
import nuke
def checkIfPremultOn():
nodes = nuke.allNodes()
for node in nodes:
if node.Class() == "Read":
node.premultipled(1)
node.knob(‘premultipled’).setValue( ‘true’ )
node.knob(‘premultipled’).setValue(1)
node[‘premultipled’].setValue("true")
One can probably tell I’m fresh to this game.. thanks!
Post a Comment