Get Active Layout in ArcGIS Pro 2.0

598
6
10-23-2017 07:43 PM
TylerLovejoy
New Contributor

What is the best way to get the current layout in arc gis pro 2.0?  I know you can do MapView.Active to get the active Map, and that you can get layouts by name, but what if there is 3 or 4 layouts open and you just want the one the user is actively looking at? 

I was unable to find a way to do this in the prosnippets or sdk, but I assume I am missing something

Tags (2)
6 Replies
UmaHarano
Esri Regular Contributor

Hi,

This will be possible in Pro 2.1. 

Thanks

Uma

0 Kudos
KeithAddison1
Occasional Contributor II

Has this been added yet?  I am searching in vain for a way to get a reference to the active layout.

0 Kudos
DeloresMuller
New Contributor II

I'm not seeing it in ArcGIS Pro 2.1.  Has it been implemented?

0 Kudos
ChristopherZent
Esri Regular Contributor

Hi Delores,

Could you check if this section of the ProConcepts Layouts document addresses your needs:

ProConcepts Layouts · Esri/arcgis-pro-sdk Wiki · GitHub 

0 Kudos
UmaHarano
Esri Regular Contributor
0 Kudos
DeloresMuller
New Contributor II

My apologies. I commented in the wrong forum. I was looking for python arcpy.mp code

0 Kudos