@WHOSA, please clear me , you want the points to be just at the vertical point polyline vertex , but POINT shall keep it's Z value .
the dwg is just to show if it is as you need it to be , only one point .
It is a small difference at z value , to be fixed by lisp .
I did it by hand.