Object.geometry Error

trying to create a script that adds R/W dimensions along a centerline alignment. These dimensiosn are relative to parcel bases that are to the left and right of the alignment. I’m not entirely sure if this is even the best way to go about this, but anyhow, I keep getting this Object.geomtry error that says “Object.get_geometry operation failed. Unable to create line. Points are likely coincident”. Anyone got any clue?

Is geometry scaling on Medium?

Why are you looking for Closest point to another point and not to geometry from alignment? Then you can use this workflow