Customization Script for Station Startup

You can use a Linux shell script or Windows batch file to perform any actions or set environment variables for the 3DOrchestrate Station. Your script/batch file is automatically executed (sourced) when the station application starts.

One script/batch file can be located in a user's home directory and a system administrator can place another (global) version in the station's configuration directory. The system administrator's global script is executed after the home directory script, overriding any user-specified settings.

This page discusses:

On Windows

On a Windows station computer, users can create a batch file named smaexe.bat in the directory specified by the USERPROFILE environment variable:

%USERPROFILE%\smaexe.bat

USERPROFILE is often set to C:\Users\<username>\, but yours may be different.

System administrators can override any settings from the user's personal batch file, by creating another version of this file in the 3DOrchestrate configuration directory:

<station_install_dir>\config\smaexe.bat

This script is executed/sourced after the one from the USERPROFILE directory, during station startup.

On Linux

On a Linux station computer, users can create a Bash shell script file in their home directory with the following file name:

~/.smaexe.sh

This file name must include the leading "." to follow the convention for hidden files in a home directory.

System administrators can override any settings from the user's personal script, by creating another version of this script in the 3DOrchestrate configuration directory:

<station_install_dir>/config/smaexe.sh

This file name must not have a leading ".". This script is executed/sourced after the one from the user's home directory, during station startup.

Note that these must be Bash shell scripts, not C shell.