Arcgis Pro 2.9 ArcPy Get Selected Feature

4664
10
Jump to solution
05-03-2022 12:21 PM
YinghongLi1
Occasional Contributor

If a user selects a feature from the map by clicking,  can I use Python to get this selected feature?  I am from ArcObject and am learning ArcPy.  From the reference document and samples, I have not found a way to get the selected feature from the map directly.  I am wondering if ArcPy has classes/functions to interact with maps.

Thanks

 

0 Kudos
10 Replies
RhettZufelt
MVP Frequent Contributor

Old ESRI add in's are just renamed zip files.

rename it with a .zip extension and you can get access to the files within.

R_

0 Kudos