Get parameters filtered by name

Hey everyone, I’m trying to have a list for each element containing the folowing parameters: “Surface”;
“Longueur”; “Nombre réel de contremarches”; “pricing unit”; “cost”;
when I use the element.parameters node i get all the parameters and when I use get parameter value by name I get values. Is there any node or way to solve this please?

check the spelling for parameter names and make sure you only have one parameter with the name.

check if you parameter is “Type parameter”, if yes then use element.elementtype node.

Actually what i want to be displayed within the lists is the specified parameters only!(type and occurrence parameters) I don’t want the others to be displayed.

Use Parameter.ParameterByName. It will return the parameter of the element. You can then filter from there.

It worked! thanks a lot