I have a map of a power grid and a feature class containing all secondary conductors that are overlapped by a primary conductor. For connectivity to remain uninterrupted and avoid a loop in the circuit, I have to offset these overlapped secondary conductors. I want to add a vertex at 5 ft from one endpoint, another vertex 5 ft from the opposing endpoint, and then move these vertices 5 feet away from their original location. The end result should look something like this (a rough example I created manually):
Where green line is primary conductor, black line is secondary conductor, blue hexagon is a transformer (endpoint), and red dot is a meter (other endpoint). The line also needs to be "unsnapped" from the meter to interrupt power flow, eventually, but for now adding and moving vertices is the main goal.
I can extract the x,y coordinates of points 5 feet from each endpoint by making copies of the secondary conductors, trimming them using SegmentAlongLine, and adding LINE_START_MID_END geometry to the trimmed segments but how do I add vertices at these coordinates once I have them?
I'm thinking moving them will require some math as every polyline is at a different angle. Perhaps I could do the math beforehand to save a step, and adding the vertices at the offset location will give me the shape I desire. I have about 800 polylines to offset.
I'm using ArcMap 10.6.1 on a basic license.