Lock and unLock node settings in nuke

Lock and unLock node knobs

Nuke doesn't have inbuilt function for lock the node settings( knobs, sliders), Like fusion's node lock function. While working with bigger scripts most of the time we accidentally  adjust the node sliders with out knowing which node is selected. ( what the hell is happening i didn't adjust anything..... ????!!!!! )

This code lock selected nodes knobs. So no worrier’s about accident changes.

Right click on the nodes property panel. You will get knobLock & unlock short-cut key.

import lockNode
nuke.menu("Properties").addCommand('lock_Knobs', 'lockNode.lockNode(True)')
nuke.menu("Properties").addCommand('unlock_Knobs', 'lockNode.lockNode(False)')

Download: locknode.py

Hope this will help you friends.

Popular posts from this blog

2D Volumetric rays in nuke

Nuke workFlow optimisation TIPS

Export Maya camera and Objects to Nuke