cancel
Showing results for 
Search instead for 
Did you mean: 

NX with teamcenter

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

In 2 Tier ,

I have installed TC 10 with NX 10 & TC 9 with NX 8TCNX_Menu.jpg

Initially both integration worked

After a System reboot , TC 10 with NX 10 is working fine

 

But when I launch TC 9 , start NX from TC

It tries to launch NX 10 , and gives an error message , as per above

 

Please suggest what is the fix in this regard

 

Regards

Vamsi Krishna

8 REPLIES

Re: Multiple version of NX with teamcenter

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Just to add more info

I have checked & removed duplicate variables for FMS_HOME and UGII_ROOT_DIR & UGII_BASE_DIR

Kindly help

 

Regards

Vamsi Krishna

Re: Multiple version of NX with teamcenter

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

In your registry you have the following entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ugmportalfile\Shell\Open\Command]

This is pointing to the start_nxmanager.bat of your TC 10 installation and starting NX 10.

As you see the entry in the registry is not TC version dependent. If you start now TC 9 it will also look in the registry and try to execute start_nxmanager.bat of your TC 10 installation.

My workaround for this is to change the registry entry to somethink like start_nx_switch.bat with the following pseudo code:

if TC_ROOT contains 10 then call TC10\portal\start_nxmanager.bat

elif TC_ROOT contains 9 then call TC9\portal\start_nxmanager.bat

 

HTH,

xtof

Re: Multiple version of NX with teamcenter

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Whenever multiple versions of Teamcenter are being used then you have a little extra work to ensure there are no conflicts. There are several tasks to take care of:

  1. Ensure the correct FMS_HOME is set.
  2. Ensure the correct FCC is started.
  3. Ensure the correct start_nxmanager.bat is referenced in the registry.

I either modify portal.bat (TEM) or otwportal.bat (OTW) depending on how the rich client was installed.

For setting FMS_HOME, simply remove the "if not defined FMS_HOME" so that it reads:

set FMS_HOME=C:\Siemens\SDPROD\NXONLY\tccs

This forces the correct setting.

 

The FCC continues to run on the client even after shutting down Teamcenter. Default is 8 hours. And can result in files being saved to the wrong environment. Correct it by stopping the running FCC:

%FMS_HOME%\bin\fccstat -stop

Finally, reset the location of start_nxmanager.bat using a registry call:

 

reg add HKCR\ugmportalfile\Shell\Open\command /d "%TPR%\start_nxmanager.bat" /f

Note: You will need admin rights to modify the registry.

I've gone as far as creating a custom ICD to modify otwportal.bat for my OTW customers or simply modifying and replacing portal.bat during install for my TEM customers.

Here's a picture:

otwportal.png


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Multiple version of NX with teamcenter

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Randy,

You say that one needs admin rights to run reg add... but you have the call in the portal.bat, too. What happens if portal.bat gets executed by user without admin rights? 

I like your idea but I do not really understand this detail.

xtof

Re: Multiple version of NX with teamcenter

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
In my company, users have admin rights, so the solution works well for us. I doubt it will work for companies where users do not have admin rights. Of course, that can be mitigated by providing a group policy against that registry key which allows write access.
The main point is that all the settings to enable multiple clients to be launched from the same machine are all in a single file and not spread out. No additional files required.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Multiple version of NX with teamcenter

Siemens Phenom Siemens Phenom
Siemens Phenom
If the users have admin rights that it makes sense. Thanks.

Re: Multiple version of NX with teamcenter

Solution Partner Creator Solution Partner Creator
Solution Partner Creator
Hi Randy
Tried everything , except Registry Part...
After the changes , issue got resolved , Thanks much ....

Regards
Vamsi Krishna

Re: Multiple version of NX with teamcenter

Solution Partner Creator Solution Partner Creator
Solution Partner Creator
Tried this solution as well
After the changes , issue got resolved , Thanks much ....