Get Active Layout in ArcGIS Pro 2.0

417
5
10-23-2017 07:43 PM
Highlighted
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)
5 Replies
Highlighted
Esri Regular Contributor

Hi,

This will be possible in Pro 2.1. 

Thanks

Uma

Reply
0 Kudos
Highlighted
New Contributor II

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

Reply
0 Kudos
Highlighted
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 

Reply
0 Kudos
Highlighted
Esri Regular Contributor
Reply
0 Kudos
Highlighted
New Contributor II

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

Reply
0 Kudos