Select Layer By Attribute
arcgis_pro_select_layer_by_attributeSelects features in an ArcGIS Pro layer by attribute using a SQL where clause, then verifies ArcPy counts match the actual selection set.
Instructions
按属性更新图层选择集,并核验 ArcPy 派生计数与实际选择集一致。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"aprx_path": "<aprx_path>",
"map_name": "<map_name>",
"layer_name": "<layer_name>",
"selection_type": "<selection_type>"
},
"name": "arcgis_pro_select_layer_by_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | Yes | ||
| aprx_path | Yes | ||
| layer_name | Yes | ||
| where_clause | No | ||
| selection_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||