Pipe Element.SetParameterByName error

For Python nodes, the pipeline uses node pipe Element.SetParameterByName to report an error

You try used DynamoNode to SetParameter, Lets check that parameter is Instance or Type??
Lets show your error.

If use Python code to setup.
I think you should use RevitAPI menthod instead.

Get Parameter of element:

Then Set value for it: