Get Active Layout in ArcGIS Pro 2.0

1016
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 III

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
by Anonymous User
Not applicable

Hi Delores,

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

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

 

For any questions or comments, please tag Original Publisher -  @ChristopherZent ("Anonymous User")

 

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