Place face based elements

I have prepared this script for placing face based elements, but the problem is that the elements are not placed in correct place. Atleast two elements are being placed at same coordinates. I have attached the script and the final revit result as well.



I have also counterchecked the coordinates, but they are all different :frowning:

@salmanjavaid2000 ,

i think you have to sort your placingpoints.