Hot answers tagged arcgis-10.0
The Append tool: Appends multiple input datasets into an existing target dataset. Input datasets can be point, line, or polygon feature classes, tables, rasters, raster catalogs, annotation feature classes, or dimensions feature classes. For one ArcPy example its Help has: import arcpy arcpy.env.workspace = "C:/data/" arcpy.Append_management(["...
Apart from the already cited "insertCursor" and "Append" tools, a simple way to copy one or more features into an existing feature class is to make a copy-paste while in edit mode. Start an edit session for your target feature class Select the features that you want to copy CTRL+C CTRL+V save edit
Using an insert cursor would do the trick. If you are using greater than 10.0 then use the da cursors but this code is for 10.0. Code isn't tested. inFC = 'test.shp' outFC = 'existing.shp' inCur = arcpy.InsertCursor(outFC) searchField = 'BLAH' searchCur = arcpy.SearchCursor(inFC,fields = searchField) for sRow in searchCur: rowVal = sRow.getValue('...
I'm going to go ahead and convert my comment to an answer. I'm assuming you've named your last field incorrectly. I think you may have meant it to be "B0R010" and not "B0R0010". Also, you may need to ensure that all fields are in the file. Also, check your indentation, as per @Jacob F's comment.
Only top voted, non community-wiki answers of a minimum length are eligible