Is it possible to change a string to an element?

I’m trying to replicate what I did in the first part of the code with the floor types in order to get the value of a certain parameter. However, for pipes, we can’t have a selection node so I tried to extract the family type from the categories node but the end result is a string.

Can it be changed in order to use the parameters by name node ? Any suggestions?

Pass in the element object as is, and skip the ‘name’ node.

It comes out as null

Does the parameter exist for that element/type?

1 Like

It was a typo, so embarrassing, thanks.