📅  最后修改于: 2022-03-11 14:46:30.083000             🧑  作者: Mango
import clr
clr.AddReference("RevitServices")
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument
res = []
iterador = doc.ParameterBindings.ForwardIterator()
while iterador.MoveNext():
res.append(iterador.Key)
OUT = [a.Name for a in res]