Get name of selected layer in Arcgis Pro

455
0
01-26-2017 12:27 PM
DaleShearer
Occasional Contributor

Hello and thanks for looking at my question.

I am just getting started in ArcGIS Pro and I am want to get the name of the selected layer.

I have a layer named "Addresses" and when I select on a point in the layer I am using:

Dim SelectedFeatures = ArcGIS.Desktop.Mapping.Mapview.Active.Map.GetSelection

to get to the layer and perform edits.

I have several layers on my map, depending on the layer selected, it then depends want is edited on the layer so I will use the name of the layer to determine which edit routine to use.

Thanks, Dale

0 Kudos
0 Replies