I cannot see all of the nodes because the screenshot is unreadable.
What i do see is that when you try to set te parametervalues, the upper input does not get elements but parameter values.
If you have elements you can identify them by the green block with the Id in it
use more watch nodes
Are you feeding the elements or the element types in the final “SetParameterValue” node?
It looks like you’re feeding through the element type but can’t read the actual nodes in the script.
i have a feeling that the last node is not reading the elements correctly and i’m not sure which node to use or the list is not generating a valid item list.
the second node gives you all instances
the third node gives you the familie types of those instances
but you never switch back to the instances themselves