Solved! Go to Solution.
Hi All,
Probably a newbie question...
I created a table-to-table routine in Model Builder which works as it should. The output table goes to a GeoDB, overwriting any same named table that is already there. I exported the model to Python and now I get the error 000258: Already Exists. I added
arcpy.env.overwriteOutput = True
to the script and it still fails. I tried adding the command
if os.path.exists
but it also fails (presumably since the table is inside the GeoDB?)
What did I miss?
Thanks,
Tycho
Hi All,
Probably a newbie question...
I created a table-to-table routine in Model Builder which works as it should. The output table goes to a GeoDB, overwriting any same named table that is already there. I exported the model to Python and now I get the error 000258: Already Exists. I added
arcpy.env.overwriteOutput = True
to the script and it still fails. I tried adding the command
if os.path.exists
but it also fails (presumably since the table is inside the GeoDB?)
What did I miss?
Thanks,
Tycho