AnsweredAssumed Answered

Get name of selected layer in Arcgis Pro

Question asked by dalejs on Jan 26, 2017

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

Outcomes