<?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: Opening Related Tables in ModelBuilder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/1122549#M63130</link>
    <description>&lt;P&gt;This is a brilliant workflow!&amp;nbsp; You've effectively solved the Relate problem when using ModelBuilder.&amp;nbsp; THANK YOU!!!&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 16:02:22 GMT</pubDate>
    <dc:creator>BeckyC-O</dc:creator>
    <dc:date>2021-12-03T16:02:22Z</dc:date>
    <item>
      <title>Opening Related Tables in ModelBuilder</title>
      <link>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/667668#M51844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I was wondering if anyone know a way to open "Related Tables" in ModelBuilder. There doesn't seem to be a tool that does this so if anyone has any code it would be really useful. All the relationship classes tools seem to be to create a relationship rather than view them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim of this part of the model is to automate the process of finding what polygons&amp;nbsp;of one layer are not related another layer. Manually I would do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open attribute table &amp;gt; Click Related Table &amp;gt; Click on the layer I would like to see the relates of &amp;gt; switch selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/667668#M51844</guid>
      <dc:creator>ANNAPRIOR1</dc:creator>
      <dc:date>2017-11-23T10:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Related Tables in ModelBuilder</title>
      <link>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/667669#M51845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your workflow of how you currently do it cannot be emulated using tools in arctoolbox which therefore limits your ability to do it in modelbuilder. Any functionality exposed in arcpy simply deals with updating existing elements within projects, for example&amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject-class.htm"&gt;http://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject-class.htm&lt;/A&gt;&amp;nbsp; None of which applies to your workflow. &amp;nbsp;&lt;/P&gt;&lt;P&gt;You could go back a step and use the &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-relate.htm"&gt;&lt;STRONG&gt;Add Relate&lt;/STRONG&gt;&lt;/A&gt; in your workflow, buy it is the switch selection that is the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/667669#M51845</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-23T10:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Related Tables in ModelBuilder</title>
      <link>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/667670#M51846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Relates have always been an interactive workflow.&amp;nbsp;However, I believe you can accomplish this workflow&amp;nbsp;in &lt;A href="https://community.esri.com/group/1218"&gt;Model Builder&lt;/A&gt;&amp;nbsp;or Python as&amp;nbsp;follows:&lt;/P&gt;&lt;P&gt;table1 - table you want to find no-matches in&lt;/P&gt;&lt;P&gt;table2 - table you are matching to&lt;/P&gt;&lt;P&gt;1) Add Join table1, join_table=table2. Use the same fields the relate uses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Select Layer By Attribute,&amp;nbsp; 'table2.&amp;lt;joinfield&amp;gt; IS NULL'&lt;/P&gt;&lt;P&gt;3) Remove Join (table2)&lt;/P&gt;&lt;P&gt;The records without a match should be selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2017 18:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/667670#M51846</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-11-26T18:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Related Tables in ModelBuilder</title>
      <link>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/1122549#M63130</link>
      <description>&lt;P&gt;This is a brilliant workflow!&amp;nbsp; You've effectively solved the Relate problem when using ModelBuilder.&amp;nbsp; THANK YOU!!!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 16:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/opening-related-tables-in-modelbuilder/m-p/1122549#M63130</guid>
      <dc:creator>BeckyC-O</dc:creator>
      <dc:date>2021-12-03T16:02:22Z</dc:date>
    </item>
  </channel>
</rss>

