<?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 Customize parameter behaviour in Modelbuilder? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275833#M67630</link>
    <description>&lt;P&gt;Are there ways to customize parameter behaviours in a model in ArcMap 10.8.1?&lt;/P&gt;&lt;P&gt;Specifically, I'd like to enable one model parameter only when another parameter (boolean type) is True.&lt;/P&gt;&lt;P&gt;In a script tool, I can achieve this by editing ToolValidator class. Can something similar be done with a model?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 15:34:05 GMT</pubDate>
    <dc:creator>EvelynHsu</dc:creator>
    <dc:date>2023-04-05T15:34:05Z</dc:date>
    <item>
      <title>Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275833#M67630</link>
      <description>&lt;P&gt;Are there ways to customize parameter behaviours in a model in ArcMap 10.8.1?&lt;/P&gt;&lt;P&gt;Specifically, I'd like to enable one model parameter only when another parameter (boolean type) is True.&lt;/P&gt;&lt;P&gt;In a script tool, I can achieve this by editing ToolValidator class. Can something similar be done with a model?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275833#M67630</guid>
      <dc:creator>EvelynHsu</dc:creator>
      <dc:date>2023-04-05T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275836#M67632</link>
      <description>&lt;P&gt;preconditions perhaps, for example&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/if-value-is.htm" target="_blank"&gt;If Value Is (ModelBuilder)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275836#M67632</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-05T15:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275838#M67633</link>
      <description>&lt;P&gt;Thanks Dan. Perhaps I should add that I'm using ArcMap 10.8.1. Not the most ideal option...gotta make do with what is available &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275838#M67633</guid>
      <dc:creator>EvelynHsu</dc:creator>
      <dc:date>2023-04-05T15:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275841#M67634</link>
      <description>&lt;P&gt;meaning you are left with&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/a-quick-tour-of-using-precondition.htm" target="_blank"&gt;A quick tour of using preconditions—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/using-if-then-else-logic-for-branching.htm" target="_blank"&gt;Using If-Then-Else logic for branching—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1275841#M67634</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-05T15:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1276817#M67758</link>
      <description>&lt;P&gt;Unfortunately preconditions and if-else logic don't quite give the same behaviour with model parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Preconditions and if-else logic can be used to control whether a step (say, Step A) should be executed. But, if parameters of Step A have been marked as model parameters, then regardless of whether Step A is executed, its parameters are always marked as mandatory parameters of the model and input values are expected.&lt;/P&gt;&lt;P&gt;What we wanted is the ability to conditionally enable model parameters in modelbuilder: if Step A does not meet the precondition, then its parameters should also be optional.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 13:56:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1276817#M67758</guid>
      <dc:creator>EvelynHsu</dc:creator>
      <dc:date>2023-04-09T13:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1276870#M67774</link>
      <description>&lt;P&gt;I don't see how that can be accomplished in modelbuilder, you may have to examine what is available via python's validation and switch from a model to a python tool, probably in Pro and not arcmap&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 08:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1276870#M67774</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-10T08:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Customize parameter behaviour in Modelbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1281738#M68291</link>
      <description>&lt;P&gt;Marking this as the solution as I couldn't find any other way to achieve it either. In the end we decided to switch to a python tool.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 05:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/customize-parameter-behaviour-in-modelbuilder/m-p/1281738#M68291</guid>
      <dc:creator>EvelynHsu</dc:creator>
      <dc:date>2023-04-24T05:54:59Z</dc:date>
    </item>
  </channel>
</rss>

