<?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 Getting values from attribute table and inserting another table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/getting-values-from-attribute-table-and-inserting/m-p/576391#M45214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have line feature class of a river network and ???FromTo??? table. Lines are dissolved so they are not segmented from junctions. I try to get the connectivity of network and I need to write a Python script in ArcGIS to do following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.Begin from the first row in Hydro feature class attribute table and get its ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.Insert this ID into ???From??? field in ???FromTo??? table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.Get ID of line which intersects first line (e.g. second line intersects first line)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.Inset ID into ???To??? field in "FromTo" table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For second loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.Get ID of second row in Hydro feature class attribute table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.Insert this ID into ???From??? field in ???FromTo??? table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.Get IDs of lines which intersect second line (e.g. first and third lines intersect second line)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.Inset IDs into ???To??? field in "FromTo" table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So on???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps, you help me with a Python code...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]18242[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Oct 2012 23:16:38 GMT</pubDate>
    <dc:creator>AlperSen1</dc:creator>
    <dc:date>2012-10-06T23:16:38Z</dc:date>
    <item>
      <title>Getting values from attribute table and inserting another table</title>
      <link>https://community.esri.com/t5/python-questions/getting-values-from-attribute-table-and-inserting/m-p/576391#M45214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have line feature class of a river network and ???FromTo??? table. Lines are dissolved so they are not segmented from junctions. I try to get the connectivity of network and I need to write a Python script in ArcGIS to do following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.Begin from the first row in Hydro feature class attribute table and get its ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.Insert this ID into ???From??? field in ???FromTo??? table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.Get ID of line which intersects first line (e.g. second line intersects first line)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.Inset ID into ???To??? field in "FromTo" table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For second loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.Get ID of second row in Hydro feature class attribute table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.Insert this ID into ???From??? field in ???FromTo??? table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.Get IDs of lines which intersect second line (e.g. first and third lines intersect second line)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.Inset IDs into ???To??? field in "FromTo" table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So on???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps, you help me with a Python code...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]18242[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2012 23:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-values-from-attribute-table-and-inserting/m-p/576391#M45214</guid>
      <dc:creator>AlperSen1</dc:creator>
      <dc:date>2012-10-06T23:16:38Z</dc:date>
    </item>
  </channel>
</rss>

