Dynamo - assigning multiple parameter to an object

Hi all,
I’m trying to make Dynamo file to assign current parameters of existing family in model to the family after changing its type.
Basically I could get all data which I wanted from the program but at the end I’m getting error with Element.SetParameterByName node.
When I connect input with 1,2,3 elements from manually typed list it all works fine, however when I’m trying to use the whole list previousle acquired from model data I get an error: “No parameter found by that name”.
But it’s the same parameter previously typed manually.. data format, everything is the same.
Here are some screenshots:

Do you have any ideas?

Sz.

There are an additional 14 parameters there that you haven’t confirmed manually. Are all these parameters coming from (and going to) one family? If not, you may have parameters that exist in one family that don’t exist the others.

It would be helpful if you shared more information and the rest of the graph.

These lists with 3 parameters were just to check if my workflow is correct and Element.SetParameterByName is able to work with multiple parameters.. The families have coresponding parameters. I wouldn’t waste yours and my time for such a silly question.

Now I’m trying different approach with parameters name in code block (not the prettiest but just to check the idea).
It worked at first, but now it also changes some parameters that are not in the list.

Yet, when I play it through Dynamo Player everything is fine..
Strange behaviour, maybe I’ll try later with restarting the computer.

That’s good. But we only know what’s shared with us. You may be diligent in making sure you’ve checked all obvious issues, but not everyone does. It’s our job to clarify. Always.

A reboot is always a good option. You might also try a transaction after the type change and before the new values. You shouldn’t need it if the family is staying the same and only the type is changing. All the instance values should be otherwise retained.