Finding grid intersections, baking points, and naming them

Hello

I am working on a definition which creates points at the intersections of a grid of Rhino Curves (each of which is named in Rhino in Properties panel; i.e. ObjectName). The X gridlines are named (A,B,C…) while the Y gridlines are named (1,2,3…). I want the baked intersection points to be named (A1, A2…B1,B2…C1,C2…).


I have successfully produced a list of intersection point names (A1, A2…B1,B2…C1,C2…). However, I am interested to know if there is a more elegant way of achieving this.

The second question is about how to bake these names into the baked points. I am attempting to use Elefront Attributes, and I am getting the following error: “1. The Geometry and Attributes tree must match exactly.” I understand that this has to do with the structure of my lists and trees (regarding which I am still a novice). A little help on this would go a long way.

What is the best way to reach my goal of points at each grid intersection, named for the grid intersect?

By the way, I have attempted to follow this, the only relevant post I found, to no effect (it doesn’t make sense to me).
https://discourse.mcneel.com/t/naming-intersection-points-by-attributes/101150

Thank you

Brian

Hi,

I do believe you need Concatenate instead of Merge. Remove those Sort List / Sort Text because otherwise you are destroying the order between points and texts.

Then Unflatten Tree your list of texts using the points as guide, you should be fine.

Also Elefront has Get Rhino Attributes to retrieve the names… instead of that Python code.

Post your file with internalized geometry if you need more help.