Possible Bug in Dynamo/Python Revit API References

Hello all!
I have a very simple Dynamo Python Script that simply collects the name of the FamilyType that a Revit FamilyInstance belongs to. I keep getting an AttributeError, where Dynamo does not recognize the reference “.Name”.
image

Code:
image

References:
image

Thanks!

Can you expand on what you are inputting into the python script and also show the full python script because it could be something earlier within the script that is causing the issue.

Does your code do anything else beside get the Type name? Is there a reason you cant use the existing node, DesignScript, or Dynamo wrapped elements in your Python code?

Could be a name conflict with the “Name” attribute as well (design script name vs random package name)

2 Likes