#this is to gui disable
for nodes in nuke.allNodes():
if "lur" in nodes.name():
nodes.knob('disable').setExpression("$gui")
for nodes in nuke.allNodes():
if "Defocus" in nodes.name():
nodes.knob('disable').setExpression("$gui")
#this is to enable
for nodes in nuke.allNodes():
if "lur" in nodes.name():
nodes.knob('disable').clearAnimated()
nodes.knob('disable').setValue(0)
for nodes in nuke.allNodes():
if "Defocus" in nodes.name():
nodes.knob('disable').clearAnimated()
nodes.knob('disable').setValue(0)
На этой странице сайта вы можете посмотреть видео онлайн Nuke script Optimization using Python Part 2 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь VFX Channel 30 Июль 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 248 раз и оно понравилось 16 зрителям. Приятного просмотра!