Sum layer Structure[1] of wall or floor

How can I get value sum all layer Structure[1] in wall or floor in both case.
case 1: just only one layer Structure[1].
case 2: has more than 2 layer of Structure[1] in Wall or Floor.


Thanks


pardon me if it’s not in english
Something like this?
If you just want the total sum you don’t even need to filter the types (upper-right part of the script,everything after Count.True)

1 Like

Thanks GregX.

1 Like