Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import assembly.prt in Teamcenter

Status
Not open for further replies.

xpeppx

Automotive
Joined
Jan 16, 2014
Messages
4
Location
IT
Hi
My Teamcenter has the clone_name (Item number) locked, so when I import an assembly file from NX to Teamcenter I can change only Part_name end Part_description.
I work with log_file end I use clone_tc.clone to change my attribute.

The problem is that when import the assembly file from TeamCenter in NX, the real_name in NX is the Item number, so I can't work with relation browser!

Thank's [smile]
 
xpeppx,

Would the NX customer default "Teamcenter Integration for NX, General, General (tab), Use Item Name instead of Item Number" be a solution?

Regards,

Joe
 
Hi jpetach
Unfortunatelly in my company we have Customer Default locked.
Is there an another solution?

If I use your solution what are the aftermath? because my company has more sites with one castomer default.


Thank you so much!
 
Hi xpeppx

Have you tried using the ug_import tool?
With this tool it will look at your attributes setup in your NX part file and map them to TC.

Example
I have a part outside of Teamcenter named testpart.prt. I have attributes in the file DB_PART_NO=12345, DB_PART_NAME=part name, DB_PART_DESC=Description.

Upon using ug_import tool to import the part I will then be able to search for 12345 inside teamcenter.

I don't know if this of any use?

Regards

Gareth
 
Hi Gareth ,
I don't know if it work.....How can I use ug_tool? do you have a simple example? Where is this tool?

Regards

Antony
 
Hi xpeppx

You will need to run a tc command prompt in order to do this.

or

Run windows command prompt
SET TC_ROOT="Location of your teamcenter root directory" mine would be c:\siemens\tc10
SET TC_DATA="location of your teamcenter data" typically \\servername\tc_data
\\servername\tc_data\tcprofilevars.bat

The you will need to change directory to your ugmanager location mine was...

cd c:\siemens\nx9\ugmanager

then...

ugimport

then enter, this should give you a list of the options to set for the import process.

If I wanted to import my 12345.prt it would look

ugimport -part=c:\import\12345.prt -u=import user -p=import password

Hope this helps

Regards

Gareth
 
I worked with ug_import tool but it's not a good solution.
I set the DB_PART_NO, DB_PART_NAME, DB_PART_DESC......but Teamcenter change
DESCRIPTIVE PART NAME = ITEM NUMBER/REV
PART NAME = ITEM NUMBER/REV
COMPONENT NAME = DB_PART_NAME

Maybe the jpetach's solution worked but I can't test it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top