Skip to content

Instantly share code, notes, and snippets.

@draconiansolo
Created November 15, 2013 12:28
Show Gist options
  • Select an option

  • Save draconiansolo/7483585 to your computer and use it in GitHub Desktop.

Select an option

Save draconiansolo/7483585 to your computer and use it in GitHub Desktop.
Nuke... quick... what nodes have $gui in expressions.
nodes=nuke.allNodes()
for node in nodes:
for knob in node.knobs().values():
if knob.hasExpression():
string=knob.toScript()
if "$gui" in string:
print "expression"+string
print " is in node" + node.name()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment