Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mass units

Status
Not open for further replies.

dogarila

Mechanical
Oct 28, 2001
594
One of the fields in my title block is the mass of the part, stored in a configuration specific custom property.
Unfortunately SW changes the units based on what I select in the options, i.e. if I select mm the mass will be shown in grams, if I select inches the mas will be shown in lbs, if I select metres the mass wil be shown in kg and so on.
The number of decimals changes also according to what I set in the options.

In my title block I need the mass shown in kg with three decimals. But I will also like the part to be left in whatever units I last used. Anyone has a suggestion on how to accomplish this thing?

Andrew
 
Replies continue below

Recommended for you

I manage the properties using an Excel macro. In this macro I convert from g to kg.

Another way, without macros, is to have a DT where you can have a column with the mass property and another column with the property you need and the apropriate formula for conversion.

Regards
 
The problem with a macro is that I have to run the macro to update the properties every time I change something (size wise), the problem with a DT is: How do I know what were the last units I used? I am not talking about the units that one selects with Tools->Options->Document Properties->Units, but about those one selects with Tools->Measure->Options.

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor