Defining Site-wide Environment Variables


There are certain ennvironment variables that always need set to the same values for all configurations. Some examples are UGII_BASE_DIR, UGII_HTML_BROWSER and UGII_SDI_SERVER_CFG_DIR and the plugin directory. The DSL allows you to do this very easily using site settings. These settings are stored separately so they can be maintained by different personel that maintains the configurations. Very useful for remote sites. Site settings are saved in DSL_UGSITE_DIR\site_settingsnxX.y.dat file

Defining Basic NX/TcEng Variables

There are some NX and TcEng variables that must be defined so the DSL has made special entries for those. To define those:

  1. Start the DSL configure program
  2. Press the Site icon in the toolbar to bring up the site settings panel.
  3. Choose the platform tab where to define the setting in. The Common tab is for all platforms.
  4. Fill out the fields you want to set. A blank field means to not set that variable.
  5. Choose File->Save Changes to commit the settings to disk.

Defining Other Sitewide Variables

The DSL also allows you to set user defined variables. To define those:

  1. Start the DSL configure program
  2. Press the Site icon in the toolbar to bring up the site settings panel.
  3. Choose the platform tab where to define the setting in. The Common tab is for all platforms.
  4. The table at the bottom of panel is where the user defined variables are managed. See Adding a User-defined Environment Variable for how to add/edit variables.
  5. Choose File->Save Changes to commit the settings to disk.

Adding a User-defined Environment Variable

The environment variable table lists the currently defined variables. To add a variable to the list:

  1. Press the '+' button at bottom of the table.
  2. Scroll the table to the bottom to see the newly appended variable. The cell values are initially blank.
  3. Double-click on the cell in the Name column to enter edit mode.
  4. Enter the variable name to set and press the enter key.
  5. Repeat for the Value column.