I am trying to populate Elements parameters with data from an excel sheet. I am almost done but when I try and organize my data before actually imputing the data my List.Contains is not working. Here is my code in its entirety. Both my GetParameterValueByName and my String from Object contain the exact same list, so I though Contains would give me a list of trues I can use for my BoolMask and then in turn use it to populate my Revit Elements. What have I done wrong?
Hello there, welcome to the forums!
I think you have the list levels wrong in the List.Contains. As you have it, its checking if the list contains the whole other list. You can set the level by clicking the little arrow in the item input, and selecting L1.
Also, I would recommend you taking a look at this post
Replace List.contains with String.Contains.