Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Process: Make Asset Feature Layer
- arcpy.MakeFeatureLayer_management(asset_wps, Asset_Selection, ""ASSET_TYPE" = 'Secondary Ped' OR "ASSET_TYPE" = 'XFMR'")
- # Process: Make PC Feature Layer
- arcpy.MakeFeatureLayer_management(Proposed_Conductor, PC_Selection, ""CONDUCTOR_" = 'Underground Secondary' OR "CONDUCTOR_" = 'Underground Service'")
- # Process: Select Layer By Location
- arcpy.SelectLayerByLocation_management(Asset_Selection, "INTERSECT", PC_Selection, "1.5", "NEW_SELECTION")
- matchcount = int(arcpy.GetCount_management(Output).getOutput(0))
- print('E1012: {0}').format(matchcount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement