I’ve been trying to create multiple project parameters from Excel in Revit using Dynamo. The problem I think is that CreateProjectParameters Node can only create one parameter at at time. Is there anyway around this?
Also, how do I convert “Categories” from Excel which is in String to actual Categories so the node understands it properly.
What does the error say? I’m pretty sure you can create multiple project parameters at once, you just need to have your lists setup correctly.
Category.ByName will get the Revit category for you. Also make sure you’re using the correct Parameter Type and Parameter Group names. Look at the Archi-lab nodes to get a better idea.
It needs to be “PG_LENGTH” not “DIMENSIONS” I would suggest placing the Parameter Groups nodes from ArchiLab for a reference when building your Excel spreadsheet this way you know what the proper callout is for the parameter group input.
As a very new Dynamo user, I’m pretty jacked about this thread! I was able to follow along with @cobipal 's video above , and created a graph that actually added parameters from an excel file.
I do have some questions though:
Shared parameters-How do I know if the parameters are being created from my shared parameters file, and if they aren’t, how do I get that to happen? (After I typed most of this post, I saw Mepdot’s image above with the red box around the Shared Parameters radio button, and I could prove out that same result, but… I tried editing the excel file to slightly change the parameter names ("-" to a “_”), and I got the same result, even though no shared parameter of that exact name existed.)
I noticed that each time I ran the graph, every parameter in the list would be duplicated. Is there a way to exclude existing project parameters from the write? Even better, if I change family categories in the excel file, can the existing proj parameters be updated? Currently, if each of the parameters in the list is associated to a different family category (in the excel file), all of the categories will be applied to all of the project parameters that are created.
Each time I run the graph, my excel spreadsheet closes. Not a deal-breaker, but is there a setting that I’m missing?
Thanks!
~Mike
Currently running Revit 2019.2 and Dynamo 2.0.3.0.
i have made a script, that are looking into the current project parameters, and by using the node List.Setdifference, i’m excluding the parameters that already are in the project