Set Layout Element Visible
arcgis_pro_set_layout_element_visibleShow or hide a named element in an ArcGIS Pro layout by setting its visibility, so you can control what appears on an exported or printed map.
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>",
"layout_name": "<layout_name>",
"element_name": "<element_name>",
"visible": "<visible>"
},
"name": "arcgis_pro_set_layout_element_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | ||
| aprx_path | Yes | ||
| layout_name | Yes | ||
| element_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||