Strange—this definition used to run perfectly for me, but lately it keeps throwing errors no matter which project I use it in… I’m working in Revit 2024.
Can you please remove the exiting families that have have the same name. I guess you have different subcategories under the main category with the same names.