Get Selection
get_selectionRetrieve the currently selected features from a layer, returning their IDs and total count. Simplifies access to selection data for further processing.
Instructions
Get the current selection for a layer. Returns feature IDs and count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||