How to add material weight

Is that weights may be automatically x2 materials list?

How equation is established

How to add material weight

SolidworksApi macros