Set Time Slider
arcgis_pro_set_time_sliderEnable layer time as a compatibility alias when ArcPy cannot control the active MapView time slider; use arcgis_pro_set_mapframe_time or the SDK bridge for live MapView.
Instructions
Compatibility alias for layer time enablement.
ArcPy cannot control the active MapView time slider. Use
arcgis_pro_set_mapframe_time for a layout map frame or the SDK bridge for
the live MapView.
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>"
},
"name": "arcgis_pro_set_time_slider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | ||
| map_name | Yes | ||
| aprx_path | Yes | ||
| layer_name | Yes | ||
| start_time | No | ||
| time_field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||