• DJ

Connect Expression to Multi-Nodes

nuke.toNode('Transform1').knob('scale').getValue()

# bring value from 'Transform1'

ns = nuke.selectedNodes()

# name the selected Node as 'ns'

for i in ns:

try:

i.knob('scale').setExpression('Transform1.scale')

except:

pass

# Node 'ns' connect scale value from 'Transform1'

# if there were no scale value in the selected Node, skip it.



1 view

Copyright © May 2018 by Dongjun Kim