How to select element by it type and then phase parameter

How can I select a wall element first by its type then by its phase created and then calculate the total area of it?

Hi @nebiattadesse9A8YK and welcome, it is all about Element.GetParameterValueByName and List.FilterByBoolMask:


WallSectionByTypeByPhase.dyn (26.8 KB)

1 Like

Definitely worked :kissing_heart: thankyou very much

@Elie.Trad can u help me with this error please I was trying to rearrange it but I got an error, how can I fix this?

I managed to come up here but I don’t know what to do next.

@nebiattadesse9A8YK no worries, I think you are trying to get the area of Wall Types, you need the wall instances for that, meaning hook the All elements of category to the Area Getparametervaluebyname.