set_map_frame_extent
Aim an ArcGIS Pro layout's map frame at a layer, explicit extent, or fixed scale, with optional rotation and selection-only zoom.
Instructions
Point a layout's map frame at a layer, an extent or a scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Fixed scale denominator. | |
| extent | No | Explicit extent to show. | |
| rotation | No | Frame rotation in degrees. | |
| layer_name | No | Zoom the frame to this layer. | |
| layout_name | Yes | Layout name. | |
| zoom_to_all | No | Zoom to all layers in the frame's map. | |
| map_frame_name | No | Map frame element name. | Map Frame |
| selection_only | No | Zoom to the layer's selected features only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |