<?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: Get layout name using arcpy will make the software hang (ArcGIS Pro 3.0) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188490#M56832</link>
    <description>&lt;P&gt;not much help, but I just tested your code in Pro 3 (interactive python window) on windows 10 and it prints the layout name.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 21:24:05 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2022-06-30T21:24:05Z</dc:date>
    <item>
      <title>Get layout name using arcpy will make the software hang (ArcGIS Pro 3.0)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188413#M56810</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently upgraded to ArcGIS Pro 3.0 and one of my old notebooks just hang and will never stop. The notebook is to export all layouts in a project, and I use the layout name for the export. I later did some tests and found the issue is due to getting the layout name. Not sure if this only happens to me (not able to try this on a different machine or reinstall it to test it out). With the following lines of code, my ArcGIS Pro 3.0 will hang at the last line - I can still navigate between different tabs, and close tabs, but cannot interrupt the kernel or close the software, basically causing the software unusable. Have to end the software in task manager. It doesn't matter if I run the following code in a notebook or python interactive window&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;aprx = arcpy.mp.ArcGISProject("CURRENT")&lt;/P&gt;&lt;P&gt;layouts = aprx.listLayouts()&lt;/P&gt;&lt;P&gt;l = layouts[0]&lt;/P&gt;&lt;P&gt;print(l.name)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 18:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188413#M56810</guid>
      <dc:creator>cchen27</dc:creator>
      <dc:date>2022-06-30T18:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get layout name using arcpy will make the software hang (ArcGIS Pro 3.0)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188490#M56832</link>
      <description>&lt;P&gt;not much help, but I just tested your code in Pro 3 (interactive python window) on windows 10 and it prints the layout name.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 21:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188490#M56832</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-06-30T21:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get layout name using arcpy will make the software hang (ArcGIS Pro 3.0)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188676#M56854</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/544916"&gt;@cchen27&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I can not reproduce this issue on Pro 3.0.&amp;nbsp; I tried with the Python window and a Notebook.&amp;nbsp; It is very important you submit this issue into support.&amp;nbsp; It must be a unique situation that needs to be diagnosed.&amp;nbsp; Things to try:&lt;/P&gt;&lt;P&gt;You mentioned an old notebook.&amp;nbsp; Can you run the same code in a new notebook?&lt;/P&gt;&lt;P&gt;Does it hang on printing any layout name or a specific one?&lt;/P&gt;&lt;P&gt;Could it be a special character in the name?&lt;/P&gt;&lt;P&gt;If we can get a project package that includes your notebook, that would be most helpful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp and Layout teams.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-layout-name-using-arcpy-will-make-the-software/m-p/1188676#M56854</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-07-01T13:09:03Z</dc:date>
    </item>
  </channel>
</rss>

