Calculate the total weight from shared parametres

Hi Guys,

I’ve created a shared parameters called weight. I’m wondering how could I calculate the total weight according to the items which I select.

An Element.GetParameterValueByName node and a Math.Sum node would do the trick. :slight_smile:

Self weight calculation.dyn (11.6 KB)
Thank you.