Engineering Solutions

UG Environment Variables

UG Environment Variables

Previous topic Next topic No expanding text in this topic  

UG Environment Variables

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Since the UG reader needs to use the UGOpen library during the run time, it requires that a valid UG installation and UG license be present and available to the user with the assemblies, gateway and solid_modeling modules.

The following environment variables must be set prior to starting:

WINDOWS


UGII_BASE_DIR

This must point to the UG installation directory1.

UGII_ROOT_DIR

This must point to the UG installation UGII directory1.

PATH

This must include the %UGII_BASE_DIR%\UGII\ directory2.

SPLM_LICENSE_SERVER

UGS_LICENSE_SERVER

This must point to the UG license server3.

UGS_LICENSE_BUNDLE

This must specify the UG license bundle.

Example: UG installation located at C:\Program Files\Siemens\NX 9.0

UGII_BASE_DIR: C:\Program Files\Siemens\NX 9.0

UGII_ROOT_DIR: %UGII_BASE_DIR%\UGII\

PATH: %UGII_BASE_DIR%\UGII\

SPLM_LICENSE_SERVER: 28000@licsrv

UGS_LICENSE_BUNDLE: NXPTNR100

 

LINUX


UGII_BASE_DIR

This must point to the UG installation directory1.

UGII_ROOT_DIR

This must point to the UG installation bin directory1.

SPLM_LICENSE_SERVER

UGS_LICENSE_SERVER

This must point to the UG license server3.

UGS_LICENSE_BUNDLE

This must specify the UG license bundle.

Example:  UG installation located at /soft/usr/ugs090

UGII_BASE_DIR: /soft/usr/ugs090

UGII_ROOT_DIR: /soft/usr/ugs090/bin/

UGS_LICENSE_SERVER: 28000@licsrv

UGS_LICENSE_BUNDLE: NXPTNR100

 

1UG is very sensitive about the environment variables.  You should NOT have '/' at the end of UGII_BASE_DIR path and you MUST have '/' at the end of UGII_ROOT_DIR path.

3It is advisable to specify %UGII_BASE_DIR%\UGII\ at the beginning of the PATH environment variable to avoid DLL version conflicts.

2Only UG versions prior to 9.0 utilize the UGS_LICENSE_SERVER variable, while newer versions utilize SPLM_LICENSE_SERVER.

 

See Also:

UG Reader Support