Nov
23
Accessing value in a node
Posted in: Nuke Plugins & ScriptsHi everyone,
I just started learning Python and I was wondering how do you go about dividing or multiplying a value inside a node..?
for example I have 3 cards in a scene and I want to multiply their scale value by 2.
I managed to figure out how to set all of their scale to the same value by running this script:
for node in nuke.allNodes( ‘Card’ ):
x = node[‘uniform_scale’]
x.setValue ( 1 )
how can I multiply that value?
Post a Comment