<?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: Is it possible to use Python tool with search cursor as a subroutine within a modelbuilder tool using an iterator? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-use-python-tool-with-search/m-p/18044#M652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate please see answers &lt;A href="https://community.esri.com/message/585980"&gt;Re: How to get field values from every feature, and place them in a comma seperated string?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Feb 2016 14:06:39 GMT</pubDate>
    <dc:creator>WesMiller</dc:creator>
    <dc:date>2016-02-06T14:06:39Z</dc:date>
    <item>
      <title>Is it possible to use Python tool with search cursor as a subroutine within a modelbuilder tool using an iterator?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-use-python-tool-with-search/m-p/18043#M651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a model with an iterator that produces a selection of records each iteration.&amp;nbsp; I would like to get the values of a field from every record, and compile the values into a single coma delimited string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attempted to use an embedded python tool to use a search cursor over these records, but it does not seem to work.&amp;nbsp; I get a runtime error: cannot open '&amp;lt;&amp;lt;field name&amp;gt;&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it is possible to run a python script tool with a cursor as a sub tool to loop through the selected records to get the field values and append them to the string?&amp;nbsp; Is there a better way of doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 06:38:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-use-python-tool-with-search/m-p/18043#M651</guid>
      <dc:creator>MichaelKowalczyk</dc:creator>
      <dc:date>2016-02-06T06:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Python tool with search cursor as a subroutine within a modelbuilder tool using an iterator?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-use-python-tool-with-search/m-p/18044#M652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate please see answers &lt;A href="https://community.esri.com/message/585980"&gt;Re: How to get field values from every feature, and place them in a comma seperated string?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 14:06:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-use-python-tool-with-search/m-p/18044#M652</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-06T14:06:39Z</dc:date>
    </item>
  </channel>
</rss>

