<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Using Python to Change Layout Templates in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idi-p/971047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It would be beneficial to be able to use the arcpy.mapping module to change the layout template in the layout view by pointing to the path of the template.&lt;BR /&gt;&lt;BR /&gt;For example, currently on the layout toolbar there is a button called Change Layout. When you click it a window will pop up allowing you to change your layout template to something else (ex. Architectural Page Sizes &amp;gt; ARCH A Portrait.mxd).&lt;BR /&gt;&lt;BR /&gt;It would be nice if users were able to incorporate the selection of this template in python scripting for map making purposes.

&lt;!-- content transformation source ID: 087E00000004VTk --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 23:04:39 GMT</pubDate>
    <dc:creator>KacieVanasse</dc:creator>
    <dc:date>2013-02-12T23:04:39Z</dc:date>
    <item>
      <title>Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idi-p/971047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It would be beneficial to be able to use the arcpy.mapping module to change the layout template in the layout view by pointing to the path of the template.&lt;BR /&gt;&lt;BR /&gt;For example, currently on the layout toolbar there is a button called Change Layout. When you click it a window will pop up allowing you to change your layout template to something else (ex. Architectural Page Sizes &amp;gt; ARCH A Portrait.mxd).&lt;BR /&gt;&lt;BR /&gt;It would be nice if users were able to incorporate the selection of this template in python scripting for map making purposes.

&lt;!-- content transformation source ID: 087E00000004VTk --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idi-p/971047</guid>
      <dc:creator>KacieVanasse</dc:creator>
      <dc:date>2013-02-12T23:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/971048#M9206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I agree with &lt;SPAN id="j_id0:j_id1:j_id2:j_id5"&gt;&lt;SPAN id="j_id0:j_id1:j_id2:j_id5:j_id6:j_id455"&gt;kvanasse. Changing the layout (while using "CURRENT" as mapdocument)&lt;/SPAN&gt;&lt;/SPAN&gt; is an important improvement!

&lt;!-- content transformation source ID: 00aE00000030flw --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 12:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/971048#M9206</guid>
      <dc:creator>BertHavekes</dc:creator>
      <dc:date>2013-07-29T12:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/971049#M9207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have there been any thoughts from ESRI on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be a valuable addition to arcpy, as I could create some great automation scripts for my users who must often replicate the same map in multiple sizes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/971049#M9207</guid>
      <dc:creator>CraigAnderson</dc:creator>
      <dc:date>2018-02-15T14:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1201348#M20773</link>
      <description>&lt;P&gt;Thank you for your feedback.&amp;nbsp; There is a long answer to this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, the Layout team is developing commands for 3.1 that allow you to resize a layout AND have an option to scale layout elements proportionally.&amp;nbsp; The same resize boolean is available to copying a layout.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, arcpy.mp (NOT arcpy.mapping in ArcMap) is also being expanded.&amp;nbsp; At 3.1 we are adding content management functions to copy project items like maps, layouts, and reports.&amp;nbsp; This allows you to make a copy and then automate changes to the copy.&amp;nbsp; arcpy.mp already allow you to change the page size - the problem is that is does NOT automatically resize elements.&amp;nbsp; That option can't come until after the Layout commands are completed.&amp;nbsp; At 3.1 arcpy.mp is also adding the ability to CREATE new maps but NOT layouts (yet).&amp;nbsp; That is because arcpy.mp traditionally doesn't allow you to create new objects so why create a layout when you can't create things like map frames, scalebars, etc.&amp;nbsp; This is definitely something we want to get to longer term.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 14:54:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1201348#M20773</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-08-10T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1295648#M25243</link>
      <description>&lt;P&gt;&lt;SPAN&gt;With reference to layouts (" but NOT layouts (yet)"), do we have in arcpy now to create a new layout?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 19:01:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1295648#M25243</guid>
      <dc:creator>saraswathiemani2</dc:creator>
      <dc:date>2023-06-04T19:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1295840#M25253</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/441605"&gt;@saraswathiemani2&lt;/a&gt;&amp;nbsp;we are introducing the following at 3.2.&amp;nbsp; ArcGISProject functions can create elements on a layout OR a graphics layer in a map.&lt;/P&gt;&lt;P&gt;ArcGISProject.createLayout()&lt;/P&gt;&lt;P&gt;Layout.createMapFrame()&lt;/P&gt;&lt;P&gt;Layout.createMapSurroundElement()&lt;/P&gt;&lt;P&gt;ArcGISProject.createGraphicElement()&lt;/P&gt;&lt;P&gt;ArcGISProject.createGroupElement()&lt;/P&gt;&lt;P&gt;ArcGISProject.createPictureElement()&lt;/P&gt;&lt;P&gt;ArcGISProject.createPreDefinedGraphicElement()&lt;/P&gt;&lt;P&gt;ArcGISProject.createTextElement()&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 15:48:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1295840#M25253</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2023-06-05T15:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates - Status changed to: In Product Plan</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1364619#M27809</link>
      <description>&lt;P&gt;This should be available with Pro 3.3.&lt;/P&gt;&lt;P&gt;Layout.changePageSize(page_width, page_height, {resize_elements=True})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 21:44:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1364619#M27809</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2023-12-27T21:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1432078#M30063</link>
      <description>&lt;P&gt;This is implemented in ArcGIS Pro 3.3. See &lt;A href="https://community.esri.com/t5/arcgis-ideas-blog/your-ideas-in-arcgis-pro-3-3/bc-p/1431910" target="_blank"&gt;Your Ideas in ArcGIS Pro 3.3&lt;/A&gt; for a full list of all user ideas you can look forward to! And be sure to check out the &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/announcements/whats-new-in-arcgis-pro-3-3/" target="_blank"&gt;release blog&lt;/A&gt; and what’s new &lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/whats-new-in-arcgis-pro.htm" target="_blank"&gt;help topic and video&lt;/A&gt; to learn more about all the new features and functionality in the release.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 15:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1432078#M30063</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2024-05-10T15:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1481505#M30484</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1134"&gt;@JeffBarrette&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It would be wonderful to have a clone, copy, or duplicate function as part of arcpy.mp in order to automate layout duplication- we often arrange a layout as we would like for a project, and then duplicate it a certain number of times as needed per project, which can sometimes be repetitive. While we could use the standard Map Series Page process, it does not work out of the box for our use case as we require graphic assignment based on individual sheets. Having a clone/copy/duplicate function would be a very easy solution to our current hurdle.&lt;BR /&gt;&lt;BR /&gt;Currently it seems the only way to duplicate a layout is by clicking "Duplicate" on the layout list over and over again, which is not very straightforward for this use case.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 19:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1481505#M30484</guid>
      <dc:creator>AR_GISNinja</dc:creator>
      <dc:date>2024-05-30T19:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python to Change Layout Templates</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1482070#M30501</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/582889"&gt;@AR_GISNinja&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Have you looked at: ArcGISProject.copyItem()&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffBarrette_0-1717166126378.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105892i4D618E94B0328A94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffBarrette_0-1717166126378.png" alt="JeffBarrette_0-1717166126378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/arcgisproject-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/arcgisproject-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can easily iterate over however many times you want to duplicate a layout and give each one a unique name.&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp and Layout teams&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 14:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/using-python-to-change-layout-templates/idc-p/1482070#M30501</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2024-05-31T14:36:43Z</dc:date>
    </item>
  </channel>
</rss>

