Hi.
I tried using Element.GetParameterValueByName but it produces an empty list like in the picture. I have tried some solutions I found on this forum like using Element.ElementType. But the result is the same. Sometimes it gives a value sometimes it doesn’t.
If you are creating the element in the same script as you are getting the value, you may need to end transaction after its creation before you can get the parameters value.