1 missing point in polygon containment test

I am trying to place some round families inside boundaries and everything works fine but one thing: one single point is always left out of the polygon. I have made an offset to the selected curve so every family is inside the polygon (with Polygon.ContainmentTest) and the ones near the perimeter don’t get out of it. I am also using a custom node (Grid points on surface) that I am posting an image of. The other custom nodes are from the Synthesize package. Can you please help me get also that one missing family in Revit? Thanks

the dyn file

The “Grid points on surface” custom node

The missing point in Revit

1 Like

Hi @radu_cevda

Can you sen both of your dynamo and Revit files