I made this script with the help of many youtube videos. It opens families in a directory, renames specific family parameters and then closes and saves the families.
I now want to do the exact same thing but this time with families in a project and not a directory.
So the script would open all the families in an opened project, rename specific family parameters and then closes and saves the families in and outside the project.
Anyone has suggestions on how I could do this?
Look into the script I posted in this thread which opens families from project and lets you modify them as family documents then reload them after. The orchid package could do this also, and has some extra nodes for renaming parameters.
I now have this problem. The FamilyParameter.Rename node expects a Revit.Application.Document but the Python Script gives a Autodesk.Revit.DB.Document (which I still anyways need for the FamilyDoc.Parameters node). Is there a way to convert Autodesk.Revit.DB.Document to Revit.Application.Document?