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

Get Selected Layer

$
0
0
I'm looking for a way to get the currently selected layer(s) from the TOC. arcpy.mapping.ListLayers() returns all layers in the data frame. I only want the ones the user has selected. Does anyone know how to do this?

Ted Chapin
SGC Engineering

Viewing all articles
Browse latest Browse all 2485

Latest Images

Trending Articles



Latest Images