Graphics Programs Reference
In-Depth Information
You now need to replace the NoOp1 part of the expression with something—but
what? At the moment, Rectangle1 is sitting inside Group1. There's a hierarchy
there—the Group1 node is Rectangle1's parent. Instead of calling up Group1 by
name, simply ask Rectangle1 to look for an ActionSafe Knob in the parent node:
23. Replace the word “NoOp1” with “parent” ( FIGURE 12.41 ) .
Figure 12.41. Calling for one level up in the hierarchy using the parent ex-
pression.
You need to change this for every other instance of an expression referencing the
NoOp1 node. In the next section, instead of doing it again manually, you use a
different method.
Manipulating the Nuke Script in a Text Editor
Here'sasurprise:Saveyourscriptinyourstudent_filesdirectory,nameitSafeAreas_v01,
and quit Nuke!
That'sright.SomethingtonoteaboutNukescripts,whichIhavementionedbefore,isthat
they are actual scripts. This means they are made out of normal human--readable text.
Thatmeansyoucanchangethescriptusingatexteditor.Thesearchandreplacefunctions
in text editors are uniquely suited for this type of work.
1. Navigatetoyourstudent_filesdirectory,whereyouwillfindyourlastsavedNuke
script, which should be called SafeAreas_v01.nk.
Note
Use only text editors (rather than word processors) for working with
Nuke scripts. Word processors such as Microsoft Word and OpenOf-
fice Writer tend to add all sorts of extra formatting characters (many
of them invisible) that can break the Nuke script. You should always
work with text editors that show you everything they put in the file
 
Search WWH ::




Custom Search