I'm writing a script that has 30+ layers and a boundary layer. I need to copy all the layers that intersect with the boundary to a GDB.
I have the following for the "Select layer by location" tool
Is there any way to use "Copy Features" tool where the output name is the same as the input name?
Thanks!
Solved! Go to Solution.
This is a monthly recurring task. So every month the old GDB will be deleted and a new one created. After the new one is created, all the layers (records in each layer) that intersect with the AirBound layer will be copied to the new GDB.
Let's follow Josh's lead from just above; his point is what I'm getting at at.