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:
- Start the DSL configure program
- Press the Site icon in the toolbar to bring up the site settings panel.
- Choose the platform tab where to define the setting in. The Common tab is for
all platforms.
- Fill out the fields you want to set. A blank field means to not set that variable.
- 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:
- Start the DSL configure program
- Press the Site icon in the toolbar to bring up the site settings panel.
- Choose the platform tab where to define the setting in. The Common tab is for
all platforms.
- 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.
- 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:
- Press the '+' button at bottom of the table.
- Scroll the table to the bottom to see the newly appended variable. The cell
values are initially blank.
- Double-click on the cell in the Name column to enter edit mode.
- Enter the variable name to set and press the enter key.
- Repeat for the Value column.