ONE more ting i just noticed thats bugging me. The tool works great for most
things (booleans, strings, etc.) But when i try and change an integer, say...
whitepoint on a group of grades, it says "expected string need integer" or
something along those lines. heres my code for the final button
value = nuke.thisNode()['changeValue'].value()
classType = nuke.thisNode()['nodesClass'].value()
knobType = nuke.thisNode()['nodeKnobs'].value()
for g in nuke.selectedNodes(classType):
g [knobType].setValue(value)
and when i type just the end part as .setValue(2.4) instead of (value) it seems
to work, but calling the value from elsewhere doesnt.
Do you happen to know whats happening?
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python