import arcpy
arcpy.env.workspace = r'c:\data'
fcs = str(raw_input('Please enter the layers you would like to buffer: '))
dist = str(raw_input('What would you like your buffer distance to be? '))
output = str(raw_input('Name your output: '))
for fc in fcs:
if arcpy.Exists(fcs):
arcpy.Buffer_analysis(inputs, output, dist)
if not arcpy.Exists(fcs):
print "Feature class does not exist"
The above script executes but does not create the feature class I want. Where am I going wrong?
Aucun commentaire:
Enregistrer un commentaire