Get a category parameter without selecting an element of that category

Hi,

I’m trying to get a parameter object to use in a filter rule node (in my case, “type name” of floors). Right now, I’m getting the parameter from existing elements in the file.

Ideally, I’d like to select this parameter independently. So I just wanted to know if it’s possible (by ID or otherwise). Please see screenshots for clarification.

I checked this topic, which is similar to what I’m looking for, but there doesn’t seem to be an answer.

Clockwork has Document.ProjectParameters & By Category, you will need to filter down after… (They look a little different in Dynamo 2)

image

Hope that helps,

Mark

1 Like

I’ve tried those ones Mark, but unfortunately they only give me any project parameters I’ve added. I wanted to be able to get a default parameter that’s already in revit.

Hmm… Have you tried the Clockwork Document.BuiltInParameters?

Just checked. That one has some parameters of floors, but not all of them. The type name, for example, is not there.

https://forum.dynamobim.com/t/in-which-revit-categories-are-the-builtin-parameters-of-revit/68011