LayerSelected?

Is there any way with python to know what layers the user has selected/highlighted in the Layers tab?

I.e. select a layer and do stuff to it, rather than having to make a layer current to affect it?

Hi @wynott,

You can use LayerTable.GetSelected. Note, this currently only works on Windows.

– Dale

Perfect. Thanks @dale