How to Get List of Polyline Vertex Coordinates on a Specific Layer

Looking to use coordinates of the vertices of lines in order to add stations and offset labels to them, as well as filter the lists of vertex coordinates based on how close they are to an alignment. Any help with how to get polyline vertex coordinates?

Hi @mkneadler,

Give this a try. Hope it helps!

GetPolylineVertices.dyn (29.3 KB)

2 Likes

Nice Zachri. I didn’t realize there was a point.pruneduplicates node. Seems useful over list.unique which wasnt working for one case i tried. I had to round the x and y values in the points prior to using list.unique despite the points displaying the same number in dynamo up to 5 sig figs.

1 Like