How to select all polylines on the specified layer

hi
I need to get as list which will contain all polylines on the specified layer. How to do that?

What have you tried so far?

My workflow would be

  1. Get all polylines
  2. Get their layers
  3. Filter by bool mask and use the == node and ask for the layer name.
    Output from the Filter by bool mask should give you the polylines you want.

How to get all polylines (the first step) ?

image
got it

Great.
And then there is a node (not at my computer), Layer.Object (I think)

yeah, it works
thank you so much