Element.GetParameterValueByName returning null?

I’m trying to get a Project Parameter that is Type based into anything, and its only returning null. Other parameter names from the same code block to other nodes are returning expected values, but there’s just nothing coming out of that one. Triple checked for typos, copied it directly over. For some reason the it seems like dynamo is not seeing the parameter - it’s not showing up in Element.ParameterExists, but I can see the parameter in objects in Revit.

Seems like I’m missing something obvious, thanks.

Show your script, please.

Also a screenshot of the Revit model with the parameter in question visible in the properties pallet of the model element selected in Dynamo.

Instance Parameter and Type Parameter is difference.
If that is Type Parameter you need get Type Element from Element .

That’s almost certainly it - it’s a Type Parameter. I’m not sure how I get the parameter value out of Type Element from Element though.


add Node Element.ElementType before get parameter of it