This allows you to take a node that has expressions in it and create copies of them that are hard pathed. It will also disable said expression driven write nodes and disable them.
- import nuke
- for n in nuke.allNodes('Write'):
- print nuke.filename(n)
- nodeInput = n.dependencies()
- newWrite = nuke.nodes.Write(file=nuke.filename(n))
You need to login to post a comment.