Showing results for 
Search instead for 
Do you mean 
Reply

NX attribute mapping

Hi experts ,

 

I am mappping some attribute between TC and NX.

I first exported mapping file from TC.Then modified it adding my custom properties.

like : under UGMASTER

Set_review_date : ItemRevision.ts_2_date_review /master=both /description="Date for review set in TC"

 

like this i added many properties.

But, when i launch NX from TC . It is randomly showing some properties and some are missing.

 

can any one help me.

 

Thanks.

3 REPLIES

Re: NX attribute mapping

What happens when a property is blank? Try adding /allow_null_value to the properties from TC.

 

Try something like:

{ Dataset type="UGMASTER"
  { Item type="TS2Item"
REVIEW DATE : ItemRevision.ts_2_date_review /master=both /allow_null_value /description="Review date" } }

 


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: NX attribute mapping

Like this date_review . i have many custom properties attched with item revision.

 

TC_String : ItemRevision.ts_2_string /master=both /description="128 char string with value"
Set_review_date : ItemRevision.ts_2_date_review /master=both /description="Date for review set in TC"
Blank : ItemRevision.ts_2_length /master=both /description="Length of blank to be entered with decimals"
Order_no : ItemRevision.ts_2_oreder /master=both /description="Order no (integer)"

 

 

 

I wants to display  these all attributes in NX . But it is randomly showing only 2 properties, others are not displayed. 

NX>File>properties

Re: NX attribute mapping

Ensure you're in the right section for where you want to use the attributes. For instance, UGPART for use on the drawing title block. Try testing the attribute mapping by setting TC_USE_TEST_ATTR_MAPPINGS...

NX docs

Then review the syslog for more error information.


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2