This can be considered a follow-up question to what I've asked a few weeks ago in this thread: Creating buffer only in specific direction using ArcGIS for Desktop?
What I need to do now is to measure the length of the buildings' southern-oriented walls (i.e. the shared lines of buffers and polygons). For this I want to create several polylines that should look something like the red line here:
I've already tried to create the polylines using the script from the link mentioned above with some adjustments. Unfortunately my knowledge of arcpy is very limited so that didn't work. Does anybody here know a way how I can create the polylines from the polygons without adding each single one manually? Due to the number of polygons and the fact that I'd have to do it for two different orientations this would take several hours of work.