I am using ArcGis 10.4.1 and network analyst extension. In order to create the network dataset i am using open source data. The attribute table is as follows;


A bridge has F_ZEL=1, TZEL=1
A road has F_ZEL=0, TZEL=0
In order to connect those two network elements i change road attributes to F_ZEL=0, TZEL=1.
It works ok but i need to do that for 8.000 bridges. Is there any way to achieve this task using code? I have to mention that two adjacent element have no relative OBJECTID, OSM_ID, etc.
Any suggestions would be very much appreciated.