get_selection
Report current selections per layer in ArcGIS Pro, including ObjectIDs and optional attribute rows, to inspect active map selections.
Instructions
Report what is currently selected, per layer, with ObjectIDs and optionally the attribute rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum ObjectIDs/rows per layer. | |
| map_name | No | Map to act on; defaults to the active map. | |
| layer_name | No | Single layer; default every feature layer. | |
| include_attributes | No | Also return the selected rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |