Issue with Dynamo. Element.GetParameterValueByName can not get value

I use dynamo 2.1.0.7733.
I was trying to get the all types of floors in families by Element.GetParameterValueByName
But I got a list of null values.
I tried many parameter names (families, types) but it didn’t work.

Do you know where is the problem? Please help…

Try Element.ElementType to get to the FamilyTypes.
Use Element.Name for the Names

Thank you Marcel_Rijsmus!

But there is a another problem… I was going to extract all default thickness of all types of floors initially and with your solution, I have FamilyTypes and Names of them now. But what should I do to get the default thickness it if I only have strings…


Use the Element.Parameters node to check the correct spelling of the Parameter name.

1 Like

Thank you very much! It works! :grin: :grin:

1 Like