Bounding Box Contains not working?

Hi All, I have put together a very simple test to renumber foundations. I have a few rectangular foundations and a model line (spline) running though some of the foundations. Some of these points are definitely contained within the Bounding Box but dynamo is reporting false on all the elements? Not sure if I have done something wrong or its a problem with the node. Foundation Test Project Any help is always appreciated. Thanks, Lawrence

Hi Lawrence,

i just had to use list map to get your script to work. runs the boundingbox.contains test and gives you a list of boolean values for each bounding box :


Hi Mostafa,

Thanks for that, I did wonder why my was previewing false, should this show some true values where the point intersects the bounding box?