<?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 trying to set some parameters as optional in modelbuilder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172234#M5779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Model Properties &amp;gt; Parameters tab &amp;gt; Type&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is possible for the parameter to be optional, you can change it there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 13:22:37 GMT</pubDate>
    <dc:creator>AlanToms</dc:creator>
    <dc:date>2010-04-12T13:22:37Z</dc:date>
    <item>
      <title>trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172233#M5778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have made a model where several parameters should be optional, but they are required and I cannot change it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The attached screenshot shows two of the processes in the model. Process 1 is the only of all parameters I could set as optional. it is: single output map algebra (conditional statement) on an input raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;process 2, which can only be required; Less than Equal statement on a dtm, where the maximum elevation is a variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the screenshot of these two, the one I have as optional is marked with a black box while the one I can not set as optional is in a red box. I hope anyone has an idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 12:53:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172233#M5778</guid>
      <dc:creator>ToreBorvik</dc:creator>
      <dc:date>2010-04-12T12:53:10Z</dc:date>
    </item>
    <item>
      <title>trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172234#M5779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Model Properties &amp;gt; Parameters tab &amp;gt; Type&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is possible for the parameter to be optional, you can change it there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 13:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172234#M5779</guid>
      <dc:creator>AlanToms</dc:creator>
      <dc:date>2010-04-12T13:22:37Z</dc:date>
    </item>
    <item>
      <title>trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172235#M5780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the parameter you are trying to change to optional from Model properties are "Required" parameters of a tool that you are using in your model, you cannot change these parameters to optional.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 23:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172235#M5780</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2010-04-12T23:09:56Z</dc:date>
    </item>
    <item>
      <title>trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172236#M5781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know how to set a parameter as either optional or required, if it can be either. But I do not understand why some of my parameters can ONLY be set as required. as in the attachment example: I have 5 rasters I do various stuff with, but they all end up as binary rasters (values 0 1). all those rasters get put in a single output map algebra expression &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(raster 1 * raster 2 * raster 3 etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I want 3 of the 5 inputs for the binary rasters to be optional parameters.. ideas how I can make them possible to be set as optional? I dont even know why one of them ended up as being able to be optional, even though it is a good thing it was&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 05:19:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172236#M5781</guid>
      <dc:creator>ToreBorvik</dc:creator>
      <dc:date>2010-04-13T05:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172237#M5782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ArcGIS 9.3, if the input parameter is connected to a tool then it will automatically set it to required, without allowing you the choice to set it to optional.&amp;nbsp; Disconnect the input from the tool, go to Model Properties and it now has the choice to set that input parameter to optional or required. Perhaps they fixed this in ArcGIS 10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 15:54:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172237#M5782</guid>
      <dc:creator>JacquieBow</dc:creator>
      <dc:date>2011-06-09T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172238#M5783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's not fixed or possible in 10 or 10.1. not sure about 10.2....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dislink the parameter to tool and set it to optional didn't work either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 22:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172238#M5783</guid>
      <dc:creator>JackZHANG</dc:creator>
      <dc:date>2013-08-08T22:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: trying to set some parameters as optional in modelbuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172239#M5784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have made a model where several parameters should be optional, but they are required and I cannot change it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is really by tool - the validation within ModelBuilder checks against the validation code for every tool to see what is can be optional and what cannot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would get maximum flexibility if you created model variables (standalone, not connected to a tool) of type Raster Layer. The rasters you want to be required can be set up as preconditions to a Calculate Value tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, use the Calculate Value tool (write a python function code block) to generate an expression which you can then provide as input to the Single Output Map Algebra tool. Doing it this way may be a bit tricky, but will allow to do what you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 23:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/trying-to-set-some-parameters-as-optional-in/m-p/172239#M5784</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-08-08T23:18:32Z</dc:date>
    </item>
  </channel>
</rss>

