LIST : Get certain list items containing same string


#1

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 !


#2

new list


#3

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.

CHeers