CreateProjectParameters not longer working in Dynamo for Revit 2023

Hi all,

I’ve got multiple dyn’s that use the buildin Create Project Parameters node, but they stopped working after upgrading to Revit 2023.

The error message says that the input types aren’t valid, which is strange as they were accepted before, but probably would not be a dealbreaker if I would be able to generate objects of the types that are asked for: “Revit.Elements.GrouptType” and “Revit.Elements.SpecType”, which I wouldn’t know how to achieve.

Any clues? Thanks in advance!

The error explains what’s going on. The specType input requires a Revit.Elements.SpecType object and you gave it a string. I believe it worked before because specType wasn’t an input. Use a selection from the Spec Types node instead.

As an added FYI, if you hover over a node input it will give a brief description and the required input type (if there is one).

Hi Nick,

I was aware of that but I didn’t know of a way to construct an object with the right type. Turns out that there was just a “spec type” node, me so stupid… :face_with_hand_over_mouth:

Anyway, thanks a lot! It works now :slight_smile:

1 Like