NX How to show Mass value in Teamcenter Item Rev properties form?

2021-10-06T23:28:05Z
NX for Design

Summary


Details

How to show Mass value in Teamcenter Item Rev properties form?


Solution

These are the required steps to configure:


In BMIDE:
(1) Create a custom item type "AU54GTACITEM"
(2) Open the AU54GTACITEMRevision
(3) Select the Properties tab.
(4) Add a new Compound property.
(5) Property Type = Compound. Select 'Next'.
(6) Enter a name, for example:  au54_mass
(7) Enter a Display name:  au54_mass
(8) Enter the Description:  Mass
(9) Select the top line of the Path and select 'Add Segment'.
(10) Select IMAN_specification -> Next.
(11) Select UGMASTER -> Finish.
(12) Select the second (UGMASTER) line of the Path and select 'Add Segment'.
(13) Select ref_list -> Next.
(14) Select UGPartMassPropsForm -> Finish.
(15) Select the last (UGPartMassPropsForm) line of the Path and select 'Add Final Segment'.
(16) Select mass -> Finish.
(17) Select 'Finish' to create the compound property.
        
(18) Save the data model and deploy.



Attribute Mapping File:

(1) Build this mapping under UGMaster


{ Dataset type="UGMASTER"
    "DB_PART_NAME" : Item.object_name /write_once /description="Part Name"
    "DB_PART_DESC" : Item.object_desc /write_once /description="Part Description"
   
    { Item type="AU54GTACITEM"
       "au54_mass" : ItemRevision.GRM(IMAN_specification,UGMASTER).NR(UGPART-MASSPR).au54_mass /allow_null_value /description="Mass (kg)"
    }


}


(2) Save and import the mapping file back into TC.



In NX:
(1) Launch new Session of TC and NX.
(2) In NX, Create a new item using the above custom item type
(3) Add any solid body into the file.
(4) Go to "File > Properties".
(5) Select the "Mass" tab
(6) You may want to consider toggle on the option, "Update Mass Properties on Save" so that mass is updated when the part is saved.
(7) Select the "Update Mass Properties Now" icon (circular arrow). This will put weight data into the part.
(8) 'OK' the Properties dialog.
(9) Save the file.
(10) Select "File > Properties". Select the 'Attributes' tab.
(11) Notice MassPropMass attribute exists, and has a value.



In TC:
(1) On the Item Revision of above saved file, RMB > View Properties, click "All" to see all properties, and the bottom of the list will show that BMIDE created compound property "au54_mass", its value matches the MassPropMass in NX.




Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: NXMANAGER
Version: V1957
Function: ATTRIBUTES

Ref: 002-8565631

KB Article ID# PL8565631

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX