Skip to main content

Lets say I have a routine with a writer and I run it. Now I want to run the same routine without having to change the writer file name. I want it to delete the old file and create a new one or Override the old file. How do I change the settings in the writer to do this?

This depends on the writer you are using.

Default setting for most file based writers is to overwrite any existing file.

Some writers have a setting to either overwrite or append to a file.

Some files can not be overwritten if opened by another application (XLS, PDF and maybe others).


If by any chance it is a geodatabase, then you can set the option of Overwrite Database to Yes when you first add a writer.


Reply