<?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>topic Re: Creating a new Layout with python in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1542435#M88585</link>
    <description>&lt;P&gt;Hi HaileyG,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that will help you&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Create the new layout&lt;BR /&gt;layout_name = 'layout_test'&lt;BR /&gt;layout = project.listLayouts()&lt;BR /&gt;print (layout)&lt;BR /&gt;#Check if the layout exits already, if not, create it&lt;BR /&gt;if not layout:&lt;BR /&gt;print ('No Layout')&lt;BR /&gt;layout = project.createLayout(210,297, 'MILLIMETER', layout_name)&lt;BR /&gt;else:&lt;BR /&gt;print ('we have one layout')&lt;BR /&gt;layout = layout[0]&lt;BR /&gt;&lt;BR /&gt;print (layout.name)&lt;/P&gt;&lt;P&gt;How to create new Layout using arcpy was list under is acpy.mp class and also mentioned in Layout class. as TomBole mentioned.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 13:09:14 GMT</pubDate>
    <dc:creator>HaDoMinh</dc:creator>
    <dc:date>2024-09-25T13:09:14Z</dc:date>
    <item>
      <title>Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1042212#M39124</link>
      <description>&lt;P&gt;I am trying to write a python script that will allow me to create multiple templates based on page size/ setup. I am trying to figure out how to insert a new blank layout tab using python script. Does anyone know the syntax for this?&lt;/P&gt;&lt;P&gt;Any other help with python scripts for layout formatting would also be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 22:16:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1042212#M39124</guid>
      <dc:creator>HaileyG</dc:creator>
      <dc:date>2021-03-30T22:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1042353#M39142</link>
      <description>&lt;P&gt;HI Hailey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some links to help you get started.&lt;/P&gt;&lt;P&gt;Help topics:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/introduction-to-arcpy-mp.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/arcpy/mapping/introduction-to-arcpy-mp.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/mapseries-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/mapseries-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/layout-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/layout-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;List of ArcPy.mp samples -&amp;nbsp;&lt;A href="https://esriurl.com/8899" target="_blank"&gt;https://esriurl.com/8899&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 12:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1042353#M39142</guid>
      <dc:creator>TomBole</dc:creator>
      <dc:date>2021-03-31T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1042683#M39173</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 23:07:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1042683#M39173</guid>
      <dc:creator>HaileyG</dc:creator>
      <dc:date>2021-03-31T23:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1077758#M43183</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you figure out how to create a new layout? All the scripts I read just open an existing one.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 12:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1077758#M43183</guid>
      <dc:creator>pkaniouras</dc:creator>
      <dc:date>2021-07-12T12:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1077831#M43193</link>
      <description>&lt;P&gt;No I was never able to figure it out. I ended up creating a master aptx, without a script, with all of the layouts I would need. Then when I open it, I choose the layouts I want and delete the others.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1077831#M43193</guid>
      <dc:creator>Hailey_G</dc:creator>
      <dc:date>2021-07-12T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1542435#M88585</link>
      <description>&lt;P&gt;Hi HaileyG,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that will help you&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Create the new layout&lt;BR /&gt;layout_name = 'layout_test'&lt;BR /&gt;layout = project.listLayouts()&lt;BR /&gt;print (layout)&lt;BR /&gt;#Check if the layout exits already, if not, create it&lt;BR /&gt;if not layout:&lt;BR /&gt;print ('No Layout')&lt;BR /&gt;layout = project.createLayout(210,297, 'MILLIMETER', layout_name)&lt;BR /&gt;else:&lt;BR /&gt;print ('we have one layout')&lt;BR /&gt;layout = layout[0]&lt;BR /&gt;&lt;BR /&gt;print (layout.name)&lt;/P&gt;&lt;P&gt;How to create new Layout using arcpy was list under is acpy.mp class and also mentioned in Layout class. as TomBole mentioned.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1542435#M88585</guid>
      <dc:creator>HaDoMinh</dc:creator>
      <dc:date>2024-09-25T13:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Layout with python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1542437#M88586</link>
      <description>&lt;P&gt;project &amp;nbsp;= arcpy.mp.ArcGISProject(project_path)&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you wonder what is the project&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-a-new-layout-with-python/m-p/1542437#M88586</guid>
      <dc:creator>HaDoMinh</dc:creator>
      <dc:date>2024-09-25T13:10:55Z</dc:date>
    </item>
  </channel>
</rss>

