I used the function "SelectLayerByLocation_management" with parameter "SHARE_A_LINE_SEGMENT_WITH" to select Grid polygon by using the line (refer to the attached picture for details). However, just only polygon A is selected but not both polygon A and B are selected. Polygon A and Polygon B have a common edge. Does anyone know the reason? If I want to select polygon A and polygon B by using the red line (common edge), what syntax I should use? Thanks.