I'm writing a script tool to take a large data set select by location export and project it. I cannot get the for loop to work and I am at a loss because the script runs without errors, but creates no outputs except for the buffer used for selection. When debugging I've found that when I put the beginning part of the script before the for loop in there and have it try to print(Layers) it returns no values.
See attached script. Any help is greatly appreciated.