📜  获取项目参数 Dynamo Revit - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:30.083000             🧑  作者: Mango

代码示例1
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]