I know it's a setting in the GP options, but would be nice to have as a counterpart to 'addOutputsToMap' to be able to force the option to remove layers that reference data overwritten by geoprocessing tools one way or another when using the Python window or a Notebook.
Yes please, this would be really good. Especially as this setting can be different per tool and should be possible to change during runtime. Updating or refreshing/replacing feature layers without removing them is quite important for scripts.
Sign in to post, follow content, and more. New here? Register for free.