×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Open NX Teamcenter data without opening Teamcenter

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

Design Engineer, NX 7.5

RE: Open NX Teamcenter data without opening Teamcenter

Awhomick,

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 2-tier client look in %TC_ROOT%\iiopservers for a batch file named something like start_TcServer1.bat. (probably exactly like that, but it's possible the name was changed).

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources