@SeanP
I also think that he has to separate out the correct 42 elements out of the 72 he starts with.
Maybe you can show how, i don’t have dynamo at home
By connecting it the way you suggested (Sean1) it will set parameters for all the selected model elements, but I have seperated 42 out of 72 which I want to change parameter for. The remaining ones shall not change.
Wire the Element.GetParameterValueByName node into the X input of the == node, then set the code block into the Y input. Take the resulting booleans and feed them in to the mask input of a List.FilterByBoolMask node, and the list of elements in as the list. The ‘in’ value goes into the Element input of the Element.SetParameterValueByName node. The other inputs for that node should remain unchanged.
You’re close. Instead of filtering the parameter values, you need to filter the Element list. The warning at the element.setparametervaluebyname node should give you some indication in the future.