Open NX Teamcenter data without opening Teamcenter
Open NX Teamcenter data without opening Teamcenter
(OP)
Hello,
I want to create a batch file that will allow me to run NX and utilize Teamcenter data without actually opening Teamcenter. Here is what I have so far:
set TC_ROOT=C:\PLM\Teamcenter\TC83\TCRE
set TC_DATA=???????????????
rem set environment variables for UGNX
set UGII_BASE_DIR=C:\CAD\NX75\
set UGII_ROOT_DIR=C:\CAD\NX75\UGII\
set FMS_HOME=%TC_ROOT%\fcc
set JAVA_HOME=%TC_ROOT%\portal\jre
call %TC_DATA%\tc_profilevars.bat
cd /d %TEMP%
call "C:\CAD\NX75\UGMANAGER\ugmanager"
I have spent tons of time trying to figure out where Teamcenter defines the data directory varialbe "TC_DATA". Can someone please help me find where this variable is defined.
I am using NX7.5 with TC 8
I want to create a batch file that will allow me to run NX and utilize Teamcenter data without actually opening Teamcenter. Here is what I have so far:
set TC_ROOT=C:\PLM\Teamcenter\TC83\TCRE
set TC_DATA=???????????????
rem set environment variables for UGNX
set UGII_BASE_DIR=C:\CAD\NX75\
set UGII_ROOT_DIR=C:\CAD\NX75\UGII\
set FMS_HOME=%TC_ROOT%\fcc
set JAVA_HOME=%TC_ROOT%\portal\jre
call %TC_DATA%\tc_profilevars.bat
cd /d %TEMP%
call "C:\CAD\NX75\UGMANAGER\ugmanager"
I have spent tons of time trying to figure out where Teamcenter defines the data directory varialbe "TC_DATA". Can someone please help me find where this variable is defined.
I am using NX7.5 with TC 8
Design Engineer, NX 7.5





RE: Open NX Teamcenter data without opening Teamcenter
Check the value(s) using a traditional interactive NX session on the computer where you intend to run your batch file ...
Run an NX session (managed mode)
Press "Help -> Log File"
(If it is a 2-tier session)
Edit -> Find -> TC_DATA
(if it is a 4-tier session)
Edit - > Find -> UGII_UGMGR_HTTP_COMMUNICATION
Edit - > Find -> UGII_UGMGR_HTTP_URL
HTH,
Joe
RE: Open NX Teamcenter data without opening Teamcenter
For a 4-tier client it's probably the same, only it'll be installed on the pool server, not your local client.
But you need a 2-tier client anyway if you're running your code from your desktop.
Scott Pigman
http://plmdojo.com