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

Clear Selected Features in All layers

$
0
0
I am looking for a way with python to clear all selected features in my dataframe. Like the "Clear Selected Features" button in ArcMap.

I have been looking for this online and just could not find it.

The only thing I can find is SelectLayerByAttribute_management(in_layer_or_view,"CLEAR_SELECTION")
The problem there is, that I need to feed it a specific layer, but I want to clear the selection in every layer.

Anyone know the answer?

Viewing all articles
Browse latest Browse all 2485

Trending Articles