<?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 [ModelBuilder] Output names in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-output-names/m-p/872463#M3150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've this toolset used for a Quality Control on a final produt, wich is ran in different batches, in example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PA2970&lt;/P&gt;&lt;P&gt;PA5000&lt;/P&gt;&lt;P&gt;PA4450&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if, by running it in different moments for the different batches, there's a way to have the outputs have their name ("SegLote") followed by the respective batch code, in example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SegLote2970&lt;/P&gt;&lt;P&gt;SegLote5000&lt;/P&gt;&lt;P&gt;SegLote4450&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this toolset has 4 different models, wich I run each following the other 1-2-3-4. how do I make a script (or whatever) so I only run one thing and it gives me all the processes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for my english, hope you understand my doubts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 09:22:47 GMT</pubDate>
    <dc:creator>FilipeTeixeira</dc:creator>
    <dc:date>2014-08-27T09:22:47Z</dc:date>
    <item>
      <title>[ModelBuilder] Output names</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-output-names/m-p/872463#M3150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've this toolset used for a Quality Control on a final produt, wich is ran in different batches, in example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PA2970&lt;/P&gt;&lt;P&gt;PA5000&lt;/P&gt;&lt;P&gt;PA4450&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if, by running it in different moments for the different batches, there's a way to have the outputs have their name ("SegLote") followed by the respective batch code, in example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SegLote2970&lt;/P&gt;&lt;P&gt;SegLote5000&lt;/P&gt;&lt;P&gt;SegLote4450&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this toolset has 4 different models, wich I run each following the other 1-2-3-4. how do I make a script (or whatever) so I only run one thing and it gives me all the processes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for my english, hope you understand my doubts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 09:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-output-names/m-p/872463#M3150</guid>
      <dc:creator>FilipeTeixeira</dc:creator>
      <dc:date>2014-08-27T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: [ModelBuilder] Output names</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-output-names/m-p/872464#M3151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you are working in modelbuilder, you can parse the name from the file, and use a calculate Value to create the string subset, and then use that as an inline variable to create the output filename. see attached model for visual explanation. Note I have attached the OutName as a precondition to running the buffer tool, so the Calculate Value bit has to run first.&lt;/P&gt;&lt;P&gt;Input is PA4450, the Parse Path extracts the name from the full path of the file. Calculate Value uses a simple bit of python to strip off the first 2 characters ("%InName%"[2:] ). Then I use the OutName variable along with the SegLote string to create the output filename. I have attached a graphic of the model and&amp;nbsp; the model as a toolbox if you want to see the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding running your 3 processes, you can nest them in a single model. If they need to run in sequence, use precondition connections to dictate which order they execute.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-output-names/m-p/872464#M3151</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2014-08-27T19:45:12Z</dc:date>
    </item>
  </channel>
</rss>

