Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Recognize Selectable layers in a map

$
0
0
Hi

How can I recognize selectable layers in a map using python codes.

I need to loop through selectable layers in a map and do something on them.

If I use
Code:


layer = arcpy.ListLayers(mxd)
for lyr in layer
  something

I can go through all layers using a for loop but I just need selectable layers not all layers.

Thanks for your help

Babak

Viewing all articles
Browse latest Browse all 2485

Trending Articles