I have 2 layers: "atikot" and "ways" that located in C:\Project\layers\New File Geodatabase.gdb , and i try to use this code
based on "ArcGIS Help 10.2" to select features from "ways" layer:
import arcpy
arcpy.env.workspace = r"C:\Project\layers\New File Geodatabase.gdb"
arcpy.MakeFeatureLayer_management('atikot', 'atikot_lyr')
arcpy.SelectLayerByLocation_management('atikot_lyr', 'intersect', 'ways')
i run the script and nothing happened anyone can help me ?
Aucun commentaire:
Enregistrer un commentaire