I have been using the “Alignment.StationOffsetByPoint” successfully, but for a few instances i encounter the “Point not on entity error”. Would you be able to advise as to why this error is issued and any workarounds? Also is it expected that such an error would be generated, when dealing with non-tangential alignments such as the ones created from CAD entities?
Basically i have 2 alignments and i would like to use chainage values from the parent alignment and project these onto an adjoining alignment to determine corresponding station and offset. I am using the “Alignment.StationOffsetByPoint” node and encounter the “Point not on entity” error which in turn returns nulls values for station and offset for particular chainages.
I have gone through this forum and found a python script by @Paolo_Emilio_Serra1 (attached) which triggers the same error for me of “Point not on Entity”. Any advise in this regard, would be much appreciated.