I'll try to be as much detailed as possible but please let me know if anything is missing:
I'm trying to get the number of lines in layerA that intersect with each line in LayerB and stores that number of intersections in a field in LayerB for each line, or row in tabular format. Both layers are huge and complicated loops may be problematic, but share your opinion please
the following is my logic:
-For each row in LayerB's Attribute table : ->Select(currentRow)->makefeature(currentRow)->selectByLocation(all lines that intersect with currentRow)->getCount(selected)->CalculateField(getCount)
will that theoretically work, please help me as I'm new to both arcGIS and python.