<?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 Input names with iteration number in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170825#M5737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is the model&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Holm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jun 2010 18:03:32 GMT</pubDate>
    <dc:creator>HolmSeifert</dc:creator>
    <dc:date>2010-06-25T18:03:32Z</dc:date>
    <item>
      <title>Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170820#M5732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a question about using input names in modelbuilder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone knows a clue how to integrate input names in the output Class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some input raster´s with different input names. Every raster is proccessed thorugh several tools. In the end I want for every output raster its input name plus the iteration index n.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input raster: Test&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; several processes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Output raster: Test0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 01:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170820#M5732</guid>
      <dc:creator>HolmSeifert</dc:creator>
      <dc:date>2010-06-25T01:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170821#M5733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd have to see your model to be able to give you the exact syntax, but the basic idea is every "circle" part of ModelBuilder (the input/outputs) can be referenced via the name you set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, lets say you have copy features and it looks like this in the ModelBuilder window:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;InputFeatures -- Copy Features -- OutputFeatures&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are iterating over a bunch of FeatureClasses you already know about the "n".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can set the output to: %InputFeatures%_%n%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which should give you something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;roads -&amp;gt; roads_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lakes -&amp;gt; lakes_2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rivers -&amp;gt; rivers_3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This help topic does a good job of explaining inline variables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/body.cfm?tocVisable=1&amp;amp;ID=857&amp;amp;TopicName=In-line%20variable%20substitution"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/body.cfm?tocVisable=1&amp;amp;ID=857&amp;amp;TopicName=In-line%20variable%20substitution&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 14:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170821#M5733</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2010-06-25T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170822#M5734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hallo Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks. For Featgures it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to use this for Rasters. I have tried the sequence exactly like the copy sequence, but everytime this failure occur:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"A locator with this name does not exist."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just create a simple process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy Raster -- %Input Raster%_%n%&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the Input Raster i have choosen 2 Raster Datasets stored in a gdb.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 15:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170822#M5734</guid>
      <dc:creator>HolmSeifert</dc:creator>
      <dc:date>2010-06-25T15:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170823#M5735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you post your model or the picture of your model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 17:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170823#M5735</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2010-06-25T17:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170824#M5736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here some data, a gdb, jpeg of the model and the failure message. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you can find a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Holm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 18:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170824#M5736</guid>
      <dc:creator>HolmSeifert</dc:creator>
      <dc:date>2010-06-25T18:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170825#M5737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is the model&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Holm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 18:03:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170825#M5737</guid>
      <dc:creator>HolmSeifert</dc:creator>
      <dc:date>2010-06-25T18:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170826#M5738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Holm,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for providing that - it clears up my understanding of the question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The information I originally providing you with wont work in this situation. Unfortunately the LIST doesn't provide the %n%. Additionally you can't control the output name with the input name via the inline variable with a list in the manner I proposed. (my apologies, I'm confusing functionality between 931 and 10). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The %n% count is only available with SERIES and with the Iterators built into ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may only be possible to accomplish this with a script. I'll have to look into it a little more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 19:51:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170826#M5738</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2010-06-25T19:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Input names with iteration number</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170827#M5739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a lot. I guess now its time to learnin g python. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the momemt i´m learning it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next time i going to create a python script which allows to import different data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the command woulkd be something about the cursor command. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hoppefully i will create the script till tomorrow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(But there is fifa soccer :D)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks and regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Holm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 20:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-input-names-with-iteration-number/m-p/170827#M5739</guid>
      <dc:creator>HolmSeifert</dc:creator>
      <dc:date>2010-06-25T20:27:52Z</dc:date>
    </item>
  </channel>
</rss>

