Possible preference file locations, Installing custom settings and macros – Apple Shake 4 User Manual

Page 357

Advertising
background image

Chapter 14

Customizing Shake

357

Possible Preference File Locations

Shake .h preference files can be saved in one of several locations (.h files in each of
these locations are read by Shake in the order listed):

In the Shake directory, Contents/Resources/ and Contents/Plugins/startup (<ShakeDir>/
include/startup/ui
for Linux installs). These directories are scanned every time Shake is
launched by any user that is using Shake called from this directory.

In any directory listed in the $NR_INCLUDE_PATH list. Set the NR_INCLUDE_PATH
environment variable to point to a list of directories. This is usually done when
sharing a large project among many users.

Note: For information on setting environment variables in Mac OS X, see

Environment Variables for Shake

” on page 393.

Add the following line to a .cshrc or .tcshrc file in your $HOME directory:

setenv NR_INCLUDE_PATH “ //MyMachine/proj/include:/Documents/shake_settings/
include”

Use the above for facility-wide or machine macros and settings that are read by all
users. Because you can add multiple directories in the path list, you can have several
locations of files.

In the User directory. This is for settings for your own personal use. Shake
automatically scans the $HOME/nreal/include subtree. A typical way to manage .h
files is to create a directory named ui in the following location:

$HOME/nreal/include/startup/ui

The User directory can have the following subdirectories:

Include/startup/ui: For macros, machine settings, and interface settings.

Settings: For window layout settings.

Icons: For personal icons for the interface (also for the icons of macros).

Fonts: For personal fonts.

Autosave: For scripts saved automatically every 60 seconds (by default) by Shake.

Installing Custom Settings and Macros

Custom files that change default settings or add macros (see below) all have a .h file
extension, and are located in:

$HOME/nreal/include/startup

For example:

/Users/my_account/nreal/include/startup/memory_settings.h

This is referred to as the startup directory. Files in this location are referred to as startup
.h files.

Advertising