I would like to be able to retrieve the "unit of mass" parameter of a part, so that I can display in a cartouche the mass with its unit, depending on the unit selected in the properties of the document.
Would you know if the "unit of mass" parameter exists, if so what is it?
Yes @Bart, it works as long as you don't change the units of your documents. If, for example, you take a part, and you put a unit in grams on it, in your background it will indicate a mass of 1500 kg, instead of 1.5kg in your example, since the unit of measurement is not a property.
It can happen for example if you recover parts or assemblies of dubious provenance.
I was hoping to be able to modify this meter because I am required to make plans for parts weighing several hundred kg, but also parts weighing a few grams.
So to make it easier to read, small pieces in grams and large ones in kg.
Alternatively, you could create a custom property that does the conversion automatically and create two columns indicating the mass in your title block, or instead of creating two columns, you can try to put a checkbox option in your property form editor to designate which unit you want to use, and link these checkmarks to your personal properties... Otherwise, I don't see any solutions:(