Is it possible to choose a solid from the geometry list based on what material it is?

Hello, I am mastering dynamo and writing a program to calculate the cost of the material. Is it possible to choose a solid from the geometry list based on what material it is? That is, I only need solid of a certain material

Sure!

Extract a matching list of materials from your elements and use the List.GroupByKey node to group them by their material.

From there on you can do all kinds of calculations and comparisons

1 Like

@Daan , @gadelshink ,

how about walls and slaps? catch i the core material?


KR

Andreas

1 Like

and it turns out that the elements are grouped, and not the solid themselves?


I’m sorry that I didn’t answer for so long. Did you mean like this?

@gadelshink , does it work this way?

group it before