Changing Project Parameters

I can’t find how to get/set project parameters that aren’t connected to a family. I think it has something to do with DB.FilteredElementCollector, but all of the examples I find are getting/setting family parameters, not a project parameter.



You’re in luck, I figured this out last friday

def get_all_project_parameters(document):
    it = iter(document.ParameterBindings)
    definitions = []
    while it.MoveNext():
    return definitions

This function returns DB.Definition objects for your parameters

1 Like

Awesome…this will keep me busy for a bit. Thanks!