Hey Everyone,
Currently what I am trying to do is rotate polylines in certain grid sections to the same orientation of existing polylines in that grid. This seems to be quite complicated as I have looked quite extensively for something like this, but to no success. Currently right now I have implemented a tool that was posted hereΒ arcpy - Drawing parallel lines inside polygons (Well Paths) using ArcGIS Desktop? - Geographic Information Systems Stackβ¦Β Β now this works for me and does what it should... but here is my problem posted below.Β

The grid lines that were drawn automatically (yellow) areΒ horizontal where as I would like them be vertical. If there is a way through arcpy or other tools where I can rotate these lines to be the same direction of polylines that are currently there. This is just one example, this happens many times in different areas.Β
Thank you!