Material take-off density


#1

Hello
I’m trying to get the total weight of an element, i has come up with this script for it. (Picture)
Some ideas on how to make it simpler? I especiale don’t like the group “Searching for density” and don’t believe it to be the smartest way off dying it.
Any ideas to make it simpler?? :slightly_smiling_face:

Thanks
Nichlas


#2

Here is one of the simpler method:

After you get density parameter use Parameter.Value node and sum it along with “*”


#3

check the new nodes for materials… it is the third image.