Element.SetParameterByName isn't working correctly

Hi, I am trying to enter parameters from another family into another family, both have the same parameters, but the transfer only works for comments, for example, but not for any with a number value.

there’s no parameter and value to put

parameter and value are set in list.combine because I have list of multiple parameters and values.

If I do it the way you have written, I get the following error message:
Warning: Element.SetParameterByName operation failed.
The parameter’s storage type is not a string

then you need to check the storage type of that parameter and match it.

even then, that input shouldn’t be left blank

It would work better if you use a python script and create the code in python. That way you can get the source parameter names, storage types and if they have a value and assign the values out to the target element accordingly.

Or at the very least, create a list of all the parameter names that you want to copy the values of and use the rhythm get and set parameter nodes.