Hi Everyone,
I am not sure why I am getting this error message," ERROR 000800: The value is not a member of End | Vertex | Edge" when I try to use the snap tool using arcpy. Here is my simplified script below that I tested in python command window, which gave me the same error as my script:
snapEnv = ['WBDHU12',"EDGE",'5 Meters']
arcpy.edit.Snap('FeatureClassName',snapEnv)
Thanks for your help!
Solved! Go to Solution.
Hmmm I found the help a bit confusing, but perhaps it just needs to be wrapped in another set of brackets.
snapEnv = [['WBDHU12',"EDGE",'5 Meters']]
arcpy.edit.Snap('FeatureClassName',snapEnv)
Hmmm I found the help a bit confusing, but perhaps it just needs to be wrapped in another set of brackets.
snapEnv = [['WBDHU12',"EDGE",'5 Meters']]
arcpy.edit.Snap('FeatureClassName',snapEnv)
If you use the GP tool and copy the python snippet, this is what you get, and is working for me.
Though, not really what the documentation says.
snapEnv = "WBDHU12 EDGE '5 Meters'"
R_
Also, code formatting.