<?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: Using Field Calculator to Change a row with domains in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530013#M41496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that 3 options of domain is easy to&lt;STRONG&gt; select by attribute&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;the records that have same value then field calculator it. Just you will make 3 select by attribute then field calculator.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Use the code number for coded domain in filed calculator value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 18:44:53 GMT</pubDate>
    <dc:creator>AbdullahAnter</dc:creator>
    <dc:date>2017-06-13T18:44:53Z</dc:date>
    <item>
      <title>Using Field Calculator to Change a row with domains</title>
      <link>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530012#M41495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a row with domains labeled Manholes. This has a drop down box with 3 options. &amp;nbsp;In the same table I have another row labeled type of manholes. &amp;nbsp;This has the same options as Manholes but instead of being a dropdown selection, it is just text. &amp;nbsp;I need to move the information in "type of manholes" to "Manholes". &amp;nbsp;I have tried to write a simple script which basically said "if type of manholes = a, then manholes = 1" but I cannot figure out how to get it to work. &amp;nbsp;I am doing it in Python and have limited knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 18:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530012#M41495</guid>
      <dc:creator>ScottWagoner</dc:creator>
      <dc:date>2017-06-13T18:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Calculator to Change a row with domains</title>
      <link>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530013#M41496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that 3 options of domain is easy to&lt;STRONG&gt; select by attribute&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;the records that have same value then field calculator it. Just you will make 3 select by attribute then field calculator.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Use the code number for coded domain in filed calculator value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 18:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530013#M41496</guid>
      <dc:creator>AbdullahAnter</dc:creator>
      <dc:date>2017-06-13T18:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Calculator to Change a row with domains</title>
      <link>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530014#M41497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After looking closer, I got something to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;def Something(Type of manholes):&lt;BR /&gt;&amp;nbsp; if Type of manholes == "A":&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1&lt;BR /&gt;&amp;nbsp; elif Type of manholes == "B":&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 2&lt;BR /&gt;&amp;nbsp; elif Type of manholes == "C":&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 3&lt;BR /&gt;&amp;nbsp; else:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "null"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-field-calculator-to-change-a-row-with/m-p/530014#M41497</guid>
      <dc:creator>ScottWagoner</dc:creator>
      <dc:date>2017-06-13T19:21:50Z</dc:date>
    </item>
  </channel>
</rss>

