How to add MassPropMass from the model to the drawing

2025-01-23T00:45:26Z

Summary


Details

How to add the attribute value from MassPropMass (from the model) to the related non-master drawing's titleblock.

Solution

Please see provide movie file for details.
If you would like this to happen automatically, you will need to modify your model template and setup a drawing template.

In Customer Defaults, all users should make sure the following is set:
'Gateway-->Materials/Mass-->Part Attributes (tab)'
Under the "Part Mass" grouping...
     - Create Attribute = ON
     - Create Expression = ON

1. Select 'File-->Open' and open the part file used as your Model template.

2. Add a block to the part and assign a material to the block's solid body.

3. Go to 'File-->Properties-->Mass (tab)'.
     - Update Mass Properties on Save = ON

4. Switch to the 'Attributes' tab.

5. Create the attribute:  MPM
     - Data Type = Number
     - Dimensionality = Mass
     - Units = lbm
     - Use 'Expression Formula'.
           Select the down-arrow next to the value field for the 'Expression Formula'.
           Select 'Formula'.
           A new "p" Expression is created. In its Formula column, type in:  MassPropMass
           OK.
          --->Notice the Expression Formula is linked to the new "p" expression.


6. Select the green Check to add the MPM attribute.

7. OK the Properties dialog.

8. Go to Expressions and rename the "p" expression just created (from the attribute) to be:  MPM
      -->This will keep the related expression and attribute the same name.

9. Save the part.

10. Select 'File-->New' and create a new specification drawing.

11. Select 'File-->Utilities-->Attribute Template'.

12. Create an attribute template title: DB_DWG_TEMPLATE_MPM
     - Data Type = Number
     - Dimensionality = Mass
     - Constraint Type = None
     - Default Value = 0.0000
     - Default Units = lbm

13. In the title block, edit the text of the cell to reference the drawing part's attribute:  DB_DWG_TEMPLATE_MPM
NOTE: If the Title block is on a 'Visible Only' layer, you may have to turn that off. You may also need to remove the table from the Title Block definition in order to edit it.

14. [optional] Edit the settings of the cell to control decimal places.
('Common-->Cell' : Category = Number; Decimal Places = 3)

15. Add the table (that contains the MPM attribute) back to the Titleblock.
NOTE:  When adding the table to the title block, make sure the cells for MPM are "Locked", so users are not prompted to edit them when a new drawing is created.
NOTE: You may want to make that title block layer 'Visible Only' again.

16. Select from the Menu, 'Tools-->Drawing Format-->Mark as Template'.
     - Toggle 'Mark as Template and Update PAX File'.
     - Enter a Presentation Name.
           This will be the name appearing on the File New dialog for the drawing template.
     - Template Type = Reference Existing Part.
     - Relation Type = Specification

17. Select the 'Browse' icon next to the "PAX File" field.

18. Browse and select the drafting PAX file being used.
IMPORTANT NOTE: Make sure you have write privileges to the selected PAX file.

19. OK the 'Mark as Template' dialog.

20. Save the drawing.

21. Close the drawing.

22. Make the model template part the displayed part.

23. Delete the block.

24. Save the model template.

25. Close the model template.

26. Create a new part using the model template. Add a block with material to it. Create a related drawing using the drafting template just created. Watch the title block cell update to the MassPropMass value from the model.

KB Article ID# PL8827618

Contents

SummaryDetails

Associated Components