How to open multiple NX sessions (that are the same version) through Teamcenter.
Many times, multiple sessions of NX are needed, but Teamcenter will only launch one NX session.
Solution
This can be done by modifying the start_nxmanager.bat file that is called when launching NX.
1. Open the %TC_ROOT%\portal\start_nxmanager.bat file in a text editor.
2. Modify the following line from:
start "Teamcenter Integration for NX" /B "%UGII_ROOT_DIR%\ugs_router" -ugm -enable_cancel -version=%VERSION% %*
to:
start "Teamcenter Integration for NX" /B "%UGII_ROOT_DIR%\ugraf.exe" -pim=yes -ugm -enable_cancel -version=%VERSION% %*
The ugs_router.exe checks to see if there is already an NX session running. If there is a session running it will not open a new session. Modifying the line so that ugraf.exe will be called allows multiple sessions of NX to be launched from Teamcenter.
NOTE: Modifying this line could cause the user to login each time NX is launched. If this happens, it can be remedied by adding the username, password, and group to the statement in the start_nxmanager.bat file:
start "Teamcenter Integration for NX" /B "%UGII_ROOT_DIR%\ugraf.exe" -pim=yes -u=<username> -p=<password> -g=<group> -ugm -enable_cancel -version=%VERSION% %*
Notes and References
Hardware/Software Configuration
Platform: na
OS: n/a
OS Version: n/a
Product: NX
Application: NXMANAGER
Version: V1926
Function: TC_PORTAL
Ref: 001-9902327