optiSLang 3D Post-Processing Environment Variables

So that oSP3D can interact successfully with optiSLang, ensure that the following environment variables exist:

SoS_exe

Points to the sos.sh file of the latest oSP3D installation.

SoS_install_dir

Points to the latest oSP3D installation directory so that you can generate the SoS_exe environment variable by typing the following command, including the quotation marks:

“$SoS_install_dir/sos.sh”

SOS_PUBLIC_DIR

Points to the directory containing all of the tutorials and examples. This variable is used by optiSLang to find the custom integration nodes of oSP3D. You must edit this variable so that the optiSLang custom integration nodes can be found in $SOS_PUBLIC_DIR/examples/optislang/custom_integration_node/x.y.

For example, to create these environment variables in a Red Hat Distribution or one of its forks, edit the following two lines in your system configuration and add them to the .bash_profile file located at "$HOME/.bash_profile". If you want to propagate these variables to all users system-wide, add them to the file /etc/profile.d/sos.sh:

export SoS_exe="$HOME/bin/Statistics on Structures 21R1/sos/sos.sh"
export SoS_install_dir="$HOME/bin/Statistics on Structures 21R1/sos"

If the file does not already exist, you must create it. Before starting optiSLang the next time it is necessary, reload the configuration file by doing one of the following:

  • In the console, type the following command:

    . "$HOME/.bash_profile

  • Open a new configuration file.

To create these environment variables on other supported operating systems, you should refer to the manuals for these operating systems.