Get parameter Value By Name returns empty list

Hello,
I’m trying to Get the parameters values By name but I get an empty list (even though I have defined the following parameters “surface”;
“longueur”;
“pricing unit”;
“cost”;).
Does anyone have an idea about the reason behind this please?

Are they type parameters?

Yes they are

Then you need to get them from the FamilyType element.

1 Like

Capitalization matters. Match character cases to the parameters. I believe that’s the issue? If you are calling those 4 parameters are they shared between those 3 categories? If not you will run into some null or empty lists.

1 Like

The capitalisation was the reason why I got empty list.
Thank you so much for your help!