Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed

Hi everyboy! The first sorry about my knowledge of Python. I created file for auto dimension rebars, but when run Dynamo show this error. Can anyone help me fix this error? Thank you very much!
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 37, in
SystemError: Method : System.Type GetType(), Property : Revit.Elements.FamilyType GetType
2019-03-27%20(1)

@LocNguyen I think you are trying to get the name of the elements. Try:

i.Name

Thanks you! But when I fixed how you told and how I found in internet, Dynamo show more error.