NX X How to setup Drawing template file to show the Mass of its model?

2021-10-06T23:26:24Z
NX for Design

Summary


Details

How to setup Drawing template file to show the Mass of its model? 

Solution

Step 1 - setup the attribute mapping file 

{ Dataset type="UGPART" 
# (hard-wired) DB_DATASET_ID : "Part File ID" 
# (hard-wired) DB_DATASET_REV : "Part File Rev" 
"Mass" : 
ItemRevision.GRM(IMAN_specification,UGMASTER).NR(UGPART-MASSPR).mass 
/master=iman /description="Mass (kg)" 
"Density" : 
ItemRevision.GRM(IMAN_specification,UGMASTER).NR(UGPART-MASSPR).density 
/master=iman /description="Density" 
"Volume" : 
ItemRevision.GRM(IMAN_specification,UGMASTER).NR(UGPART-MASSPR).volume 
/master=iman /description="Volume" 
"Area" : 
ItemRevision.GRM(IMAN_specification,UGMASTER).NR(UGPART-MASSPR).area 
/master=iman /description="Area" 
}



Step 2 - Define part attribute (Mass, Density, Volume and Area) in the drawing template file
Drawing-A1-Size-template/A 

Define these new attributes as string attributes with empty values



Step 3 - Create drafting Notes using Relationship option, add references to each attribute:


Mass: <WRef2*0@Mass> 
Volume: <WRef3*0@Volume> 
Density: <WRef4*0@Density> 
Area: <WRef5*0@Area>



Step 4 - Save and close this drawing template seed prt



Step 5 - Create new model part with a solid, assign material to the body, save 
the part, and create a new master model drawing using that modified drawing 
template. On save - the drawing note will update to reflect the values from 
the model prt.

Notes and References





Hardware/Software Configuration

Platform: INTL64
OS: window
OS Version: 764SP1
Product: NX
Application: NXMANAGER
Version: V12.0.2
Function: ATTRIBUTES

Ref: 001-9236485

KB Article ID# PL8004870

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX