Tool.GetSurroundingElements not working properly

Hi Everyone,

i recently got stuck working with the node Tool.GetSurroundingElements from SteamNodes.
What i am trying to archieve is, to get surrounding elements and afterwards cut them out. The element input is a list of beforehand created Voids, the elementCheck input is a complete list of all walls in the current document.
When using a way smaller list of voids (tried it with a test file, roundabout 40 voids) it just works fine. Though after switching to a bigger model it refuses to take all voids. It cuts down 20 percent of them. I also checked if there is a maximum input and cut down the input list to 500, still there is a loss of 25 percent.

Is there a known fix, a possible workaround or another node which does the job? I was not able to find something relateable in the forum. Help is much appreciated

Max

Edit: added a matching screenshot

Hi @max.fo,

Have you tried using the Distance.To node with an if statement and boolean filter to check if your walls are closer or further than a specific distance?

(Example: Distance < 500 ? true : false ; )

Hi Daan,

sorry for my late reply.
I haven’t tried this yet, but am going to.
Though the created voids are placed directly in the walls, based on placeholder