NX

The NX file custom_dirs.dat needs to include the path to the Gateway add-in executable.

Prerequisites: These steps assume that the NX application is launched from a batch (.bat) file.

The custom_dirs.dat file can be stored in two locations:
  • the folder path \UGII\menus\ relative to the NX installation directory indicated in the computer registry
  • the location specified by the environment variable UGII_CUSTOM_DIRECTORY_FILE
In a central deployment scenario, you must ensure that the custom_dirs.dat file on each NX client is modified to include the path to the Gateway add-in executable. This is the folder that contains the Gateway client files for the relevant version of NX.
To include the path to the Gateway add-in executable.
  1. Ensure that the batch file sets the environment variable GATEWAY_DM_EXEDIR:
    REM Set GatewayCore environment variable 
    set GATEWAY_DM_EXEDIR="PATH_TO_MI_MATERIALS_GATEWAY_INSTALLATION\Platform"
    REM Start NX after this
    
  2. Edit the custom_dirs.dat file to include the folder path to the Gateway executable.
    #
    # Customer modifications can follow on here
    #
    PATH_TO_MI_MATERIALS_GATEWAY_INSTALLATION\NX version Integration