top of page

Connect Expression to Multi-Nodes

  • DJ
  • Jul 23, 2019
  • 1 min read

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.



Recent Posts

See All

Copyright © May 2018 by Dongjun Kim

bottom of page