Editing the Environment Script (setenv.bat or .xsi_1.0)
Modifying Files using the User Tools Application
List of Environment Variables
Example of setenv.bat file (Windows NT)
Example of .xsi_1.0 file (IRIX)
The environment script file contains environment variables required to run
your Softimage product. Environment variables tell your Softimage product where
certain databases are located and also let you customize your setup. On Windows
NT, this file is called setenv.bat; on IRIX, it is called .xsi_1.0.
The environment script file is located in %SI_LOCATION%\Product Name\bin (on Windows NT) or $SI_LOCATION or your home directory (on IRIX). You can
set environment variables by editing this file in the User Tools dialog box.
To edit your environment script you can cut and paste examples of the environment variables, or you can type the contents directly in the file.
Here are some basic instructions for the setenv.bat or .xsi_1.0 file:
- The LM_LICENSE_FILE variable specifies port and machine name of the license
server used for your Softimage Product.
- If the machine is configured as a server, the LM_LICENSE_FILE environment
variable should be set to %SI_LOCATION%\flexlm\licenses\ or <port>@<machine name>.
- LM_LICENSE_FILE is also needed to start distributed rendering. This
environment variable is set locally in the rayirix5.sh script in the mental ray rendering
software bin directory (IRIX) on each slave machine and in setenv.bat file (Windows NT).
- echo off disables echoing during the batch file execution.
- It is important to declare SI_HOME at the beginning of the batch file because
it is referenced in the environment variables that follow throughout the
script.
- HOME uses the "username" variable provided by Windows NT when a user is logged on.
- SI_DBDIR is configured the same way as HOME.