Comparing the x coordinates of 2 points

If the x’s of the two points are not equal print ------------

instead they are the same and must print **********
but the x’s are the same


Hi,

here 2 solutions

for info

Seems to work for me, but I am creating the points manually from float values, so I know they match exactly.

How about a design script version?

Math.Round(pnt1.X, precision) == Math.Round(pnt2.X, precision)? sameValue: differentValue;

Thanks for the reply
It works well

Thanks for the reply
it seems good to me

Thanks for the reply
I try again but so far it doesn’t work