Element.GetParameterByName

Why when I want to use the Element.GetParameterByName node and select the “Level” parameter, the generated list gives me elevation, and data that I don’t ask for. I only want to extract the name of the level, which in this case is “Nivel 00 - TEMPLATE”.

That isn’t a bunch of information you didn’t ask for, it’s the level element. If you were to scroll to the right you’d see a highlighted green number to indicate such. Dynamo just displays that extra information as people often need it to readily distinguish what level they are looking at. Imagine if that just said “level” 20 times like you had a collection of walls… not very useful.

To pull the actual name use an Level.Name node, or just type lvl.Name; in a code block.

Careful with your nested list structure by the way.

1 Like

Gracias!!!