How to use CAD to calculate the weight of aluminum

[China Aluminum Network] First draw the section of the aluminum profile, use the characteristics to find out the sectional area S (unit: mm^2), then the rice weight = S*1000*2.7e-6=S*2.7e-3(Kg) 2.7e-6 = 0.0000027 (Kg/mm^3) is the density of aluminum. The density of the aluminum profile is adjusted according to the content of the alloy, and the weight of the other materials can be calculated by taking the density.