How to get a shared type parameter


I’ would like to extract a shared type parameter “AT_nominale_grootte” (= nominal size). This parameter was added to all the air terminals families (Identity Data).

The node “Element.GetParameterValueByName” retuns a null value…

When I change “AT_nominale_grootte” to an instance parameter the node gives the correct value. However “AT_nominale_grootte” cannot be an instance parameter. Any suggestions?

Thanks in advance!


Hey Dirk,

I think you are missing the Element.Parameters and Parameter.Name nodes in between your All Elements of category and Element.GetParameterValueByName.
(I am not 100% sure on this one but you could give it a try.)

Oh and your output doesn’t generate null values but probably empty values like: “”.

Hi @dirk.h,

First of, have you tried to seach for this or similar topics prior to posting? This is probably the most asked question on the forum, perhaps only topped by Excel related questions :slight_smile: .

Second, you are querying a type parameter from an instance, which is why you don’t get any values.
Try the search function, and then let us know if you still can’t make it work.

Problem solved with Node Elements.Type :

1 Like