I’m looking to extract all of the parameteres (names) from all our families to an excel spreadsheet.
I’m using a python script (which I’m still learning) in the process but I can’t seem to resolve an error when dealing with more than one file.
Any help would be appreciated.
Thanks in advance
December 12, 2018, 11:05pm
You need to make “PL” a list by declaring it above the for loop pl =
and use pl.Append(iDoc.FamilyManager.Parameters). Right now your just getting the last one as an output.
OK tried that but am still getting the error as before and no data exporting to Excel.
@EddieSaez please post your dyn and rvt files (or a link to them)
December 13, 2018, 8:36am
You need to assign “pl” to the OUT variable, not the lowercase out that you have. (Note I had to use paths, but I modified the code to work with your script before posting.)
from Autodesk.Revit.DB import FamilyManager
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application
docs = IN
pl = 
for iDoc in docs:
OUT = pl
One thing to keep in mind is that if you only feed this node 1 family, it is going to break.