Mass Properties are one of the easiest tools to use inside SOLIDWORKS models. They are easy to review with the Mass Properties command, easy to link to a custom property for BOMs and drawings, and they also update automatically as model geometry and material change.
SOLIDWORKS 2024 and newer versions allow users to easily add unit notations to any custom property. Here, the weight of the part has “g” added to denote the measurement is in grams as per the document’s unit system of MMGS.
Even better, the unit notation automatically switches over when the unit system is changed. Seen below, weight is automatically converted to its equivalent value and notation in pounds when the unit system is switched from MMGS to IPS.
However, in SOLIDWORKS 2023 and older, while the value of a mass property can be calculated and updated, the unit notation is not. This blog describes a workaround for displaying and converting mass properties automatically, with appropriate units displayed. These behaviors will then be codified using SOLIDWORKS Equations into a document template so that it’s easy to use and deploy across multiple documents in the future. Arithmetic conversions of units are accomplished using Equations in the Equations Manager, as a custom property cannot evaluate an arithmetic expression with text at the end.
Shown are examples of the completed syntax implemented in a document template that has its default unit system set to MMGS and outputs custom properties that display the equivalent weight in grams(g), kilograms(kg), and pounds(lb) whenever the model is rebuilt in SOLIDWORKS.
For all new documents moving forward, these properties will now be embedded and automatically updated as their given model changes. Now that units are part of the text of the properties themselves, they are easily visible and searchable in BOMs, drawing annotations, and even SOLIDWORKS PDM data cards.
However, it is important to remember that SOLIDWORKS is doing the mass calculations, and therefore, for the values to be up-to-date and accurate, rebuilds at the file level must be evaluated by opening and rebuilding in SOLIDWORKS itself.
Want to learn more? Check out more tips and tricks listed below. Additionally, join the GoEngineer Community to create forum posts, enter design contests, and answer questions from other SOLIDWORKS users.
SHORTCUTS ⋅ MOUSE GESTURES ⋅ HOT KEYS
Our SOLIDWORKS CAD Cheat Sheet, featuring over 90 tips and tricks, will help speed up your process.
Exploded Views for SOLIDWORKS Multibody Parts
Faster DWG Conversions Using the SOLIDWORKS 2D to 3D Toolbar
Create Custom Weldment Profiles in SOLIDWORKS
SOLIDWORKS Paragraph Properties Guide
Mastering Basic Part Modeling in SOLIDWORKS: A Step-by-Step Guide
About Miguel de Villa
Miguel de Villa is a SOLIDWORKS Elite Applications Engineer with a B.S. in Mechanical Engineering from the University of California, San Diego. He’s been working at GoEngineer since 2017 helping customers with all their SOLIDWORKS, Simulation and PDM needs. In his free time he enjoys working with his 3D printer, playing video games and building model kits.
Get our wide array of technical resources delivered right to your inbox.
Unsubscribe at any time.