LIST : Get certain list items containing same string


Hi all,

I was trying to get the Number parameter from a wall in Revit, as shown in the image. There are two Numbers in the wall parameters, and it returns the last Number value.

Question: 1) how do I get the first Number value ? 2) how to get a new list containing all the Number parameters, if this element has multiple Numbers ?

Thanks a lot !


new list


Hi all,

thanks for reading this.

I found a way to do it, just use “FilterByBoolMask” , should get a list only has Number string in it.