Oct
26
anyone any Idea how to set the ‘hide_input’ knob of all the Dots within a Group to 0?
I’m cracking my head here with the nuke python syntax (as you can see on my strange codingstyle)
I’m cracking my head here with the nuke python syntax (as you can see on my strange codingstyle)
Code:
import nuke group = nuke.selectedNodes()
defGrp = group[0].name()
a = []
getGrp = nuke.Group.begin (nuke.toNode(defGrp))
for i in nuke.allNodes():
a.append ( i.name())
nuke.Group.end (nuke.toNode(defGrp))
count = 0
for i in a:
count =+ 1
for x in range (1, 1000):
if i == 'Dot' + str(x):
#i['hide_input'].setValue(0)
print i
Post a Comment