Change Right Attachment of text through Element.SetParameterByName

Hello All,
I am trying to change all text “Right Attachment” parameter to bottom. I can set the value by Element.SetParamterByName, but only with a number not “Bottom” and this doesn’t seem to adjust the leader attachment. Any help would be greatly appreciated! :crossed_fingers:

This is a very slight difference, but have you tried using an integer (2) instead of a float (2.000)? You can also use the Parameter.StorageType node to ensure you are providing the correct data type.

Hi @cgartland, Thanks for your input. Unfortunately, I don’t see anything different in my results. I don’t understand because it is showing that the parameter value has changed to 2, but the parameter itself isn’t changing. I assume those are tied together? Thanks again for your help!