AnsweredAssumed Answered

rotate split polylines python arcpy

Question asked by bayojugger on Feb 24, 2020
Latest reply on Feb 25, 2020 by bayojugger

I have converted polygon edges into polylines which I have also split at vertices. I am trying to rotate the polygon edges (segments) at angles which I have stored in a field in an attribute table.

The angles I have are for the polygon vertices. How do I proceed with rotating the segments -- preferably by scripting?

 

For instance, in the above image with a polygon, I need to move those 2 line segments until the angle between them are at right-angle and repeat same for all vertex/corners of the polygon. 

EDIT: Providing additional context

Outcomes