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, this file is called setenv.bat; on IRIX and Linux, it is called .softimage40.
The environment script file is located in %SI_LOCATION%\Product Name\bin (on Windows), $SI_LOCATION, or your home directory (on IRIX and Linux). 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 .softimage40 file:
· On Windows, the LM_LICENSE_FILE environment variable is set as a system environment variable. The LM_LICENSE_FILE variable specifies port and computer name of the license server used for your Softimage Product.
· If the computer is configured as a server, the LM_LICENSE_FILE environment variable should be set to %SI_LOCATION%\flexlm\licenses\ or <port>@<computer name>. The LM_LICENSE_FILE environment variable is a system environment variable (found in the Control Panel on Windows) because it may be used by other FLEXlm licensed software (including other Softimage products). It is not a variable that you set in your setenv.bat file.
· If the machine is configured as a client, LM_LICENSE_FILE is set as a system environment variable in <port>@<license server name> format.
· LM_LICENSE_FILE is also needed to start distributed rendering on IRIX and Linux. This environment variable is set locally in the rayirix5.sh script in the mental ray bin directory on each slave computer and in the Windows system variables.
· echo off disables echoing during the environment script execution.
· It is important to declare SI_LOCATION at the beginning of the environment script because it is referenced in the environment variables that follow throughout the script.
· HOME uses the "username" variable provided by Windows when a user is logged on.
· SI_DBDIR is configured the same way as HOME.
Modifying Files with the User Tools Application
Example of setenv.bat File (Windows)
Example of .softimage40 File (IRIX and Linux)