Tryng to append a selected set of features to an existing FC
So I grab a point, create a buffer in memory, select counties in that buffer, then I want to write those to a multipart feature in an existing FC...
The selectedCounties.gdb has Feature Classes "CountiesDissolved" and "Counties_appended" in it
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Target Dataset: Dataset Counties_appended does not exist or is not supported
Failed to execute (Append).
I also tried as such
arcpy.Append_management(results, "C:\Work\CountySelection\Data\SelectCounties.gdb\Counties_appended", "TEST","","")
Any thoughts?
I am also going to want to add values to the FC attributes on the append but thats the next step I guess
point = arcpy.Point(coordinateX, coordinateY)
ptGeometry = arcpy.PointGeometry(point)
arcpy.Buffer_analysis(ptGeometry, 'IN_MEMORY/BufferGeom', distanceMeters)
arcpy.env.workspace = "C:\Work\CountySelection\Data\SelectCounties.gdb"
arcpy.MakeFeatureLayer_management('CountiesDissolved', 'counties_lyr')
results = arcpy.SelectLayerByLocation_management('counties_lyr', 'INTERSECT', 'IN_MEMORY/BufferGeom')
arcpy.Append_management(results, "Counties_appended", "TEST","","")