Set Active View Extent
arcgis_pro_set_active_view_extentSet or pan the active ArcGIS Pro map view to specified x/y min-max coordinates, optionally preserving the current scale.
Instructions
实时设置或平移 ArcGIS Pro 当前地图视图范围;preserve_scale=true 时保持比例尺。
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>",
"xmin": "<xmin>",
"ymin": "<ymin>",
"xmax": "<xmax>",
"ymax": "<ymax>"
},
"name": "arcgis_pro_set_active_view_extent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xmax | Yes | ||
| xmin | Yes | ||
| ymax | Yes | ||
| ymin | Yes | ||
| aprx_path | Yes | ||
| preserve_scale | No | ||
| spatial_reference_wkid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||