Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Edit UGMaster name from NX using vb.net

Befuddled

Aerospace
Jan 9, 2008
75
Hi All,

I am using a journal to edit an TC item name and description from NX (of the active part). To do this, I am using the call:-

theUFSession.UFUgmgr.SetPartNameDesc (database_part_tag, part_name, part_desc) under the UFUgmgr classes

This works really well, and is simple as once you have the part tag, you just feed the command with a new string.

Does anyone know if its possible to edit the names of the datasets (UGMaster & Ugpart) using vb.net from NX?

Thanks in advance.

B...
 
Replies continue below

Recommended for you

I would be very careful hacking this type of data in Teamcenter ... NX and Teamcenter are pretty tightly connected and if these connections fail, it can be extremely difficult to correct it. I have a particular part, ( a flat plate with 5 holes..) which is used in very many assemblies, and everytime one of these assemblies are loaded, NX complains that the UID is wrong. I have not found the way to fix this.

Regards,
Tomas
 
Hi,

I am not proposing editing the ITEM ID or the PUID (persistent unique ID) which's used to make the database hold together.

I have been manually doing this for many years (25 to 30 at a guess) all the way form iMan, TcEng to present day TC. Its just a string in the database stored as a attribute.

Cheers,

B......
 

Part and Inventory Search

Sponsor