Rename Generic Annotations but getting with list blank values

Hi,

I’m trying to rename generic annotations already placed on sheets but I’m getting blank values from Element.GetParameterValuebyName even though the list has 327 items. Can somebody please help?

Blank values returned by[GetParameterValueByName usually occurs when the parameter doesn’t exist. Check the parameters of the familytype to make sure the parameter name is there. Parameter names are case-sensitive.

@jo-Z Remove custom node and add “All Elements of Category node” to get the types:

I used the GetParameterValuebyNameCaseInSensitive and it worked!