NX Handling user attributes on ItemRevision direct from NX drawing (UGPART)

2021-10-06T23:27:22Z
NX for Design

Summary


Details

Teamcenter item revision properties, (custom item type, custom properties), have been mapped to NX drawing, (specification). Typical mapping definition in the UGPART section would be:

"Name" : ItemRevision.kd9_name /master=both /allow_null_value /description="Name of engineer"



In NX, File --> Properties, Attributes tab, Interaction Method: Traditional, these mapped attributes is not listed unless they have a value. If they have a value this value is not editable from the NX drawing part file.
 
- Shouldn't the attributes always be visible value or no value, and shouldn't the user be allowed to edit as mapping switch "/master=both" is set?



Solution

An attribute mapped from TC item revision property into a NX drawing part file is not intended to be possible to edit from NX, i.e. any mapping switch "/master=.." is ignored.
The reason for this limitation is that you can create multiple drawing datasets under the one and same item and theoretically multiple users could access these NX drawing datasets at the same time, which would cause confusion about whose edit will last at the end.

Furthermore, a Teamcenter item revision property mapped to a NX drawing, (UGPART), is not intended to be visible in NX unless it have got a value. The logic behind this is that there is no point in showing an attribute without a value if you are not allowed to edit it.
There is one special condition in the vicinity of this. When you create a new drawing, BEFORE you have saved the drawing the first time, you can list/see/access all mapped attributes, with or without a value and editable or not. This allows you to grab an attribute with no value and reference it in a drawing Note, so it will occur on the drawing later on when it is assigned a value in UGMASTER or in TC.



Notes and References

NX documentation, Teamcenter Integration for NX --> Attributes --> Mapping Attributes --> Synchronization requirements for Master and non-Master datasets
----------------------------------------------
When mapping attributes, specifying cad or both for the /master qualifier is not enough to change the value. The following conditions also must be met:


* The property in the final step of the mapping must itself be modifiable.


* The object to which the final property applies must be:


    - For non-Master datasets (UGPART) either:


    - The original dataset


     - Any form that is a Named Reference of that dataset and which is not a Named Reference of any other dataset


Note: You cannot synchronize attributes on a UGPART to an Item Revision Master or Item Master form.


 - For Master datasets, either one of the above or one of the following:


Note: Where a Master dataset is one that is of type UGMASTER and is attached to its Item Revision by a Generic Relationship of type Specification.


 - The related Item Revision


 - The related Item Revision Master form


Note: These restrictions are to reduce the likelihood of multiple simultaneous NX users overwriting each others' changes to a Teamcenter object.
----------------------------------------------



Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: SYSENG
Version: V1863
Function: UI_COMPONENTS

Ref: 001-9477971

KB Article ID# PL8014450

Contents

SummaryDetails

Associated Components

Modeling