I have been trying to find a way to follow to do the following:
Create Python code that will prompt to the user in ArcMap to use the selection tool to create a selected set and then automate the export of the selected set to an In_Memory location and then export the data table to a csv.
This should be easy and I have written the the export to csv by borrowing code from just about everyone and also have created the Add-in but can not get the selected set into the processing.
I am wondering if I need to use it a stand alone in ArcMap and call or if I can create it all together.