I’ve worked a little bit more with this and I have achieved the desired result but not the way I wanted it to. I’m having difficulties with lists for some reason that is unclear to me…
If I use a Code block and add a prefix I get a list with the names of all my parameters. If I connect it to the parameterName in Element.SetParameterByName I get the result I want, to uncheck all the yes/no parameters in my Titleblock. What I want to accieve is that I first want to sort out those parameters that are checked yes and the change those to no. I’ve sorted them out but for some reason the list that comes out of that contains parameters that can’t be found by Element.SetParameterByName.
Does anyone have any clue as to why my sorted list doesn’t work?