<?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 How to open and close an attribute table in ArcGIS Pro with ArcPy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-open-and-close-an-attribute-table-in-arcgis/m-p/1204485#M65633</link>
    <description>&lt;P&gt;I'm using ModelBuilder with a custom Python script in ArcGIS Pro to update a feature class in a file geodatabase. I migrated the tool from ArcMap to Pro recently and found that I was receiving an error upon running the tool:&lt;/P&gt;&lt;P&gt;ERROR 000224: Cannot insert features - Cannot acquire a lock.&lt;/P&gt;&lt;P&gt;Come to find out, in ArcGIS Pro, the tool will not run when the attribute table is open. That part is resolved. However, I want to review the new data record after each run of the tool. Opening and closing the attribute table with every tool run is a bit annoying and I would like the script to close the attribute table, run the script, then open the attribute table for review via Python or ModelBuilder. I've done a bit of Googling and haven't found how to open and close an attribute table programmatically.&lt;/P&gt;&lt;P&gt;The table is in the TOC. Ideally, I would like the tab to open in the pane below my map pane, but beggars can't be choosers.&lt;/P&gt;&lt;P&gt;Please help?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2022 12:36:10 GMT</pubDate>
    <dc:creator>SethSobel1</dc:creator>
    <dc:date>2022-08-19T12:36:10Z</dc:date>
    <item>
      <title>How to open and close an attribute table in ArcGIS Pro with ArcPy?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-open-and-close-an-attribute-table-in-arcgis/m-p/1204485#M65633</link>
      <description>&lt;P&gt;I'm using ModelBuilder with a custom Python script in ArcGIS Pro to update a feature class in a file geodatabase. I migrated the tool from ArcMap to Pro recently and found that I was receiving an error upon running the tool:&lt;/P&gt;&lt;P&gt;ERROR 000224: Cannot insert features - Cannot acquire a lock.&lt;/P&gt;&lt;P&gt;Come to find out, in ArcGIS Pro, the tool will not run when the attribute table is open. That part is resolved. However, I want to review the new data record after each run of the tool. Opening and closing the attribute table with every tool run is a bit annoying and I would like the script to close the attribute table, run the script, then open the attribute table for review via Python or ModelBuilder. I've done a bit of Googling and haven't found how to open and close an attribute table programmatically.&lt;/P&gt;&lt;P&gt;The table is in the TOC. Ideally, I would like the tab to open in the pane below my map pane, but beggars can't be choosers.&lt;/P&gt;&lt;P&gt;Please help?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 12:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-open-and-close-an-attribute-table-in-arcgis/m-p/1204485#M65633</guid>
      <dc:creator>SethSobel1</dc:creator>
      <dc:date>2022-08-19T12:36:10Z</dc:date>
    </item>
  </channel>
</rss>

