Dynamo Element.SetParameterbyName Issue

Have a look at the solutions here.