Zoom Active View To Layer
arcgis_pro_zoom_active_view_to_layerZoom the active ArcGIS Pro map view to a specified layer or its selection set in real time, keeping the current session focused on relevant features.
Instructions
实时将 ArcGIS Pro 当前地图视图缩放到指定图层或其选择集。
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>",
"layer_name": "<layer_name>"
},
"name": "arcgis_pro_zoom_active_view_to_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aprx_path | Yes | ||
| layer_name | Yes | ||
| selection_only | No | ||
| symbolized_extent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||