Hi,
I would like to create a number of Project Parameters and set default values simultaneously - in a single run.
I have tried doing this with Parameter.CreateProjectParameter and Element.SetParameterByName, but no default values are set if the two nodes run simultaneously in the same script. If I run the two components separately it works fine. I tried doing it in a code block with design script and thought that would do the trick, but it didn’t. Home.dyn (19.4 KB)

I literally just opened and ran erfajo’s first suggestion and it didn’t work. :-S Maybe because I use Revit 2016 for my current project. It works great with the second example from 