Hi team,
In my workbench, I'm snapping line endpoints to the device X,Y.
To do this, I stored the point's X,Y in the line's attributes and used the VertexCreator transformer with "Replace point at vertex" set to −1 (the end point), passing in the device's X,Y.
This moves the line's end point to the device's X,Y as expected, but it also changes the line's start point to what was previously the line's end point.
To avoid this, I tried using VertexRemover to remove the end point, then VertexCreator with "Add point at vertex" set to −1, again passing in the device's X,Y. With this approach, the line's start and end points end up swapped.
I need the start and end point order preserved as-is, since that order is used for terminal assignments in the Utility Network.
Someone please suggest a solution for this?


