Grasshopper - VA elements adjacency

Hello,
I wonder if it is possible to find what VA elements are adjacent to an another element? I mean, let’s say I have a space and I want to find what walls are enclosing it. For now I have a GH definition looking for a space with some parameters, and finding geometries with a given distance. But it’s not very effective. Do you have any insights?
Regards, Jaro

1 Like

Hi Jaro,
For that particular case, you can reference a space object on one hand and the rest of the geometry on the other hand (with the VA Geometry Pipeline, for example). Then you can “deconstruct” the space to find the boundary curve, offset it according to some distance, and extrude it. Then you calculate the intersection of the resulting extrusion with the referenced walls.

1 Like