ATTRIBUTE MAPPING ON TEAMCENTER INTEGRATION WITH NX

attribute-mapping-teamcenter-integration-with-nx

Attribute:

An attribute is a changeable property or characteristic of some component of a program that can be set to different values.

Attribute Mapping in Teamcenter Integration with NX: 

- It is an effective tool to define and configure the properties between TEAMCENTER and NX. 

- Attribute mapping is a process of identifying and correlating attributes of two or more related entities, typically for the purpose of data integration, data modeling, data analysis, and so on. 


Types of Attributes: 

There are two different types of attributes in NX, part type attribute, and database type attribute.  

PART TYPE 

DATABASE TYPE 

  • Part name  

  • Description 

  • Weight 

  • Dimensions 

  • Material  

  • Item  

  • Dataset 

  • POM objects 

  • Workspace objects 

  • POM applications 

  • Item revisions 


Part type attributes stay in the NX part files, not in the Teamcenter database or not mapped to Teamcenter by default. 


The Database type attributes are mapped and attached to the relation which is listed in the Teamcenter properties. In this process, the database type attributes are mapped. 


Steps For Mapping Attributes: 

 Process For Mapping: 


  1. Select a Property from Teamcenter:


  • Open Teamcenter, and select any item > right-click> edit properties. Select the properties which has read and write access, and can be used for mapping with NX. 


 

  • Here, found that the object description (object_desc) property can be edited and it is useful for mapping. 


 
 

  1.  

  2. Check properties from NX attributes: 


  • Now open NX, to check that the object description property is either located or not in the NX. 

 
 


  • Select the item from the assembly navigator > right-click> properties.  

 
 



  • Here is the list of attributes assigned to NX which are integrated with the Teamcenter properties. 

 
 


  • For mapping the attributes to NX, need to follow 3 steps mainly:  

  1. The first step is to run the export attribute exe file in the Teamcenter command prompt,  

  1. The second is to edit the text document,  

  1. The third is to run the import attribute exe file in the TC command prompt 



 

  1.  

  2. Export mapping input file: 

  • Open Teamcenter root > bin folder > export_attr_mapping exe. File, run this file in the command prompt. 


 
 


  • Open TC command prompt --> type cd --> copy the bin folder path (change the path to bin folder). 

  • Select the export_attr_mapping file --> to type the username, password, group name, and -file = attr (text document to export the information). 


# export_attr_mappings.exe -u=infodba -p=infodba -g=dba -file=attr.txt #


 

 
 


  • There in the TC root --> bin, you can find the text document --> right click --> open with Notepad ++. 


 
 



For mapping the attribute there are 3 types of Master functions to be assigned, 

Master = CAD: cad can change the value and save the change in Teamcenter, but in Teamcenter, the value can be changed and the changes made in Teamcenter cannot be saved in CAD. 

Master = IMAN: Iman, NX is prevented to change the value. 

 Mater = BOTH: both, NX as well as Teamcenter can change the value and save the change. 

 
 


  • After opening the notepad ++ --> select the dataset type = ug master. 

  • To map the attribute, need to mention the original Teamcenter property name, 

object_desc” : Item.object_desc / master=both / description = “object description” 

  • Save the text document --> close notepad++. 



Inserting image... 



  1. Execute/ import mapping file: 

  • Now import the attribute mapping, Open Teamcenter root > bin folder > export_attr_mapping exe. File, run this file in the command prompt. 

 



  • Open the Teamcenter command prompt with Run as admin, change Directory to TC root --> bin pass the credentials and Dry run the command as shown in the screenshot to know the changes that take place after importing attributes to Teamcenter. 



# import_attr_mappings.exe -u=infodba -p=infodba -g=dba -file=attr.txt - dryrun # 



 


  • Open TC command prompt --> type cd --> copy the bin folder path (change the directory to bin folder). 


  • Select the import_attr_mapping file --> type the username, password, group name and -file = attr (to import all the created mappings) 


# import_attr_mappings.exe -u=infodba -p=infodba -g=dba -file=attr.txt # 



 



  1. Validate Attribute: 

  • After running the command prompt --> open Teamcenter --> edit properties --> assign the value of object description as piston --> save and check-in. 


 
 



  • Open NX --> right click on item --> select properties --> there you can find the attribute is created and the value is assigned 


As we gave master = both we can change the values from both Teamcenter and NX. 


 
 



  • Select the attribute to change the value from pistonpiston head --> click on apply --> ok --> close NX. 

  
 



  • There you can find the value of the object description has changed from piston - Piston Head. 



  •  



By following this process, you can map the attribute and assign the values to it You can map the attributes with various Teamcenter properties, like materials of the component, part properties, and so on. 

Comments

Popular posts from this blog

NX Machinery Library Installation

What Are Challenges With Today’s PLM Support?