Extracting units from mass properties
Extracting units from mass properties
(OP)
I'm currently working on some custom properties that link to the mass properties, such as Volume, Density, etc. The problem is that some parts have different units, so it would be very helpful to put in a custom property that specifies what unit system is being used. (The mass property numbers are only scalar; the units are not included.)
Does anyone know of a way to do this? Thanks for the help.
Does anyone know of a way to do this? Thanks for the help.






RE: Extracting units from mass properties
RE: Extracting units from mass properties
RE: Extracting units from mass properties
RE: Extracting units from mass properties
The units for mass properties is not controlled by the model units. It is controlled by the units settings in the mass properties tool. For instance, if the part units were millimeters, and I changed the mass properties tool units to inch, the mass would be in pounds.
This may have changed. Be careful and experiment thoroughly.
http://www.EsoxRepublic.com
RE: Extracting units from mass properties
The "mass" property value is based on the model's current active configuration. If the drawing shows one configuration, but the part is open and has a different configuration active, the mass value will be that of the part's current active configuration.
http://www.EsoxRepublic.com
RE: Extracting units from mass properties
As of SW2003 SP2R11.0 Density is part of MassProperty object; System units are Meters, Radians, Grams, Seconds .. Property UseSystemUnits determines whether MassProperty object will use System Units or Document Units. MassProperty is a Utility object.
As Tick says, There is no substitute for validation (a.k.a. 'debugging').
RE: Extracting units from mass properties
Thanks for all the help!