Shake variables – Apple Shake 4 User Manual

Page 398

Advertising
background image

398

Chapter 14

Customizing Shake

At login, your computer runs the default /etc/csh.cshrc, followed by any .tcshrc files in
your login directory. This sequence is repeated whenever a new tsch is spawned—for
example, when you launch Terminal.

Note: As mentioned above, Shake only reads the .tcshrc environment file when Shake is
run from the Terminal (the file is not applied when Shake is launched from the
application icon).

To add a variable for Terminal commands, enter the following formatting (edit to suit
your own project) into $HOME/.cshrc or $HOME/.tcshrc:

setenv NR_INCLUDE_PATH “ //MyMachine/proj/include;/Documents/shake_settings/

include”

The following is an example of a .tcshrc file for illustration purposes only:

setenv shake_dir /Applications/Shake4/shake.app/

Contents/MacOS/shake

setenv shk_demo /Documents/project_03
set path = (. $shake_dir $path)
setenv NR_INCLUDE_PATH /Documents/project_03
setenv NR_FONT_PATH /System/Library/Fonts
alias ese vi $HOME/.tcshrc
alias s. source $HOME/.tcshrc
alias lt ls -latr
alias ui cd $HOME/nreal/startup/ui
alias st cd $HOME/nreal/include/startup
alias shake $shake_dir

This file sets the Shake directory, as well as points to the directories that you want
Shake to scan for macros, user interface settings, and so on. (/Documents/project_03),
and fonts (/System/Library/Fonts).

Note: Alias definitions or environment variables saved in a .tcshrc file are read the next
time you log in. To make the alias or environment variable effective immediately,
update your alias definition by sourcing out .tcshrc. Type the following:

source .tcshrc

To edit the .tcshrc file, use pico or vi (or another shell editor). Once your changes are
made, save the .tcshrc file.

Shake Variables

Shake recognizes the following variables:

shell variables: The File Browser recognizes an environment variable, for example,
$pix in the Browser if Shake is run with that environment setting.

NR_CINEON_TOPDOWN: When set, that is,

setenv NR_CINEON_TOPDOWN

Advertising