I’m trying to create multiple project parameters with the “Parameter.CreateProjectParameterForAllCategories” node but something pretty weird happens when I run the scripts:
As you can see from the picture I am trying to create 6 parameters but it gives me this error: "Warning: Parameter.CreateProjectParameterForAllCategories operation failed.
The referenced object is not valid, possibly because it has been deleted from the database, or its creation was undone."
but in revit it actually creates some parameter…but not all of them!
you can see from this picture that it creates 5 instead of 6!
Did anything like this happened to you before? It looks pretty weird to me…