Did you ever get this process completed. i have a similar problem, i am looking to take features from SDE1 and send them to SDE2 and overwrite the features in SDE 2. i tried features to features tool but it doesn overwrite it. it adds a _1 after the feature name.
Lela,
you could always create your model in modelbuilder and then export it to python. Then you could add code that will check if certain files exist and if they do, delete them. Like this:
env.workspace = "Space where your output will be" if arcpy.Exists("your feature"): arcpy.Delete_management("your featuree")
That's how I do it.
Tim
that is what i am doing is starting in model builder and then exporting out into python after the system is proven. i just can figure out how to get model builder to overwrite the feature rather than add the _1 to it.
for python, i think you must use the command line after importing arcpy: arcpy.env.overwriteOutput = True
if i put the model builder and save it as a python script where would i place this code for it to run?
Thank you
Lela Harrington
Did you figure out where to put your code to run?
Did you try setting your geoprocessing options for overwriting outputs??
I think this must help
where is that located?
Thank you
Lela Harrington
In the menu bar, click on "geoprocessing", then click on "geoprocessing options"
😃