Return to Snippet

Revision: 63294
at April 23, 2013 13:41 by throb

Initial Code
import nuke

for n in nuke.allNodes('Write'):
    print nuke.filename(n)
    nodeInput = n.dependencies()
    newWrite = nuke.nodes.Write(file=nuke.filename(n))

Initial URL

Initial Description
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.

Initial Title
Replace procedural Nuke Write paths with real paths in write node by replacing the write node(s)

Initial Tags
file, python

Initial Language