Hello everyone!

I’m looking for some help to solve this

What I have is some polygons or closed planar curves (always flat) and some texts that identify them.

What I try to achieve is:

- measure each edge that has a different adjacent polygon (at this point is done)
- Determine and label the adjacent polygon
- Pull apart each polygon and their information and create a table with it (measures and adjacent polygon label)

Attached: the definition and an image to explain the result I’m searching.

label_adjacent.gh (19.2 KB)

label_adjacent.3dm (66.5 KB)

Any help would be appreciated. Thanks in advance!