I have benn trying to install the templates for the teamcenter integration for NX and I have not been able to do it..when I run the script specified in the help I get the error showed in the picture saying that "teamcenter integration is not initialized while initializing import operation".
Does someone knows what is happining and how to fix it...?
I have tried to launch teamcenter and then NX from teamcenter and then run the script showed in picture but I still get the same error.
PS: All those steps are performed in my client since I have not NX isntalled in the server.
Solved! Go to Solution.
I am using a 4-tier architecture and I have set the environment variables but I am still getting the same error...
Any other idea about what I am getting this error??
NX 12 | SW 2017 | Creo 4 | TcUA 11.4
Make sure to run this script from a Teamcenter command prompt.
You can also use the regular "File => Import Assembly into Teamcenter" dialog from within managed NX.
For CAD templates you use Item ID is OS name and the item type is Item.
For CAM templates you use Item ID is OS name and a suffix, _inch_NX10 for English parts, _metric_NX10 for Metric parts.
The item type is MENCMachining except for the parts containing "target" in their name, where the item type is Item.
It should be fairly easy with NX10, for older NX releases it is a bit cumbersome, but also no problem.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX12.0 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
Based on Randy's suggestion, make sure you have write access to the location where you're executing the script from. You have not defined a path for the -s argument, so it's going to try to write to C:\windows\system32. Unfortunately the error is a generic one and not particularly helpful.
I just ran your exact syntax hooked up to 4-tier from C:\window\system32 using an NX Command Prompt and it worked. So there's nothing wrong with the syntax.
Do you have name rules enabled?
Check your temp directory and see if an NX syslog is being generated. If there is, check the end of the log file for clues.
There are a couple of PRs and FAQ that point to SSO as a cause of this error, too.
Issue NX clone fails in SSO env even when the LDAP credentials are used unless the TC_SSO_SERVICE variable is commented.
See Document ID: 002-7008237, and PR# 7248426
I also did it on that way, navigating till the file and run it from there but it didn't work...
About the TC_SSO_SERVICE variable I could not find it ...
Using the method proposed by Stefan_Pendl "Import Assembly into teamcenter" it did work. So now, from "new item" option I can choose from the different tempaltes imported... However, I have not been able to import the inspection templates since iIcould not find them...
Thanks so much