Native NX can not connect to Teamcenter, only a managed NX session can connect to Teamcenter.
If you start NX using the -pim=yes option, you start a managed NX session.
There are prerequisites that must be met, like some variables must be set before starting NX to describe the connection.
%UGII_BASE_DIR%\UGMANAGER\ugmanager.bat and %TC_ROOT%\portal\start_nxmanager.bat contain the needed information for the variables.
From within a managed NX session, you can interact with Teamcenter.
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX11.0 EAP, NX12.0 EAP
How to Get the Most from Your Signature in the Community