Pairing Lists with True/False for output

I’m building a script that reads the sheet name from Revit, and dumps it to Excel. A VLOOKUP will write the NDE requirements for the specification back to the title block for fabrication.

I’m using a List.FilterByBoolMask to pick up a key word on the Spool sheets. Trying to write back to the elements post filter, I figured out I’m trying to write data to the list, not to the sheets themselves. I can’t tie the output of the filter to an Element.SetParameterbyName.

I’m missing something simple I think to pair my list back to the sheets, but I can’t seem to figure it out.

So the attached screenshot works as shown. as you can see though, the filter is bypassed as it’s writing to “All Elements of Category” instead of the filtered list. I need it to process only the filtered list.

SHTSS1

Hi Jason,

Have you considered adding a second “List.FilterByBoolMask” node ?

 

Thank you for taking the time to look at this. I spent probably 3 hours yesterday staring at it trying to figure out where I went wrong. I added the second Boolean Mask and it worked!