I have been working on Revit 2020 version and my python program which is adding new family type parameter worked fine.
However, on Revit 2023, the program dose not work.
My code is here;
‘’’
material_param =
family_doc.FamilyManager.AddParameter(“material_name”, DB.BuiltInParameterGroup.PG_MATERIALS, DB.ParameterType.Material, False)
‘’’
The reference on Revit API page is;
‘’’
AddParameter Method (String, BuiltInParameterGroup, Category, Boolean)
‘’’
If anyone can gave me any advise, I would appreciate.