Graphics Programs Reference
In-Depth Information
6. Switch to the Node tab in Shuffle1's Properties panel.
Whatever you type in the Label field will display on the node in the DAG.
7. In the Label field enter lgt .
You can see that lgt displays under Shuffle1 ( FIGURE 3.25 ) .
Figure 3.25. Whatever you type in the label box displays on the node in the
DAG.
Note
Text fields in Nuke generally use the scripting language TCL. Nuke
used to be strictly TCL, but added Python as well. However, TCL
remains useful for Properties panel manipulation. Check out
www.tcl.tk as a good source for learning TCL scripting. Chapter 12
covers scripting in more detail.
You can simply type this for every pass. However, you can also use a little script-
ing to automate this process.
8. In the Label property's field replace lgt with [knob in] .
Breaking down what you typed, the brackets mean you are writing a TCL script.
The word knob means you are looking for a knob (knob = property). The word in
is the name of the knob (the pulldown knob, in this case).
The result of this script shows the value of the property called “in.” Therefore,
you will see that the node in the DAG still displays as lgt.
9. Tomakethisalittlemorereadable,addaspaceandtheword pass afterthescript,
so it reads like this: [knob in] pass ( FIGURE 3.26 ) .
Figure 3.26. The label should display this text.
 
 
Search WWH ::




Custom Search