<?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 Is there a way to delay validation of tool parameters? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590707#M19575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone.&amp;nbsp; I am new to these forums, new to ModelBuilder, and pretty new to ArcGIS as well.&amp;nbsp; I am an experienced programmer, including object oriented languages, so for the most part I am able to psych out the ArcGIS tools for use in ModelBuilder.&amp;nbsp; Here is a problem which has eluded me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My model includes this section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15117[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Natural Neighbor tool requires a Z Value Field as input.&amp;nbsp; Unfortunately the model doesn???t know what fields are available until the Project tool has run.&amp;nbsp;&amp;nbsp; When I run within ModelBuilder there is no problem, since the model doesn???t check the validity of the Z Value Field entry until it is ready to run Natural Neighbor, by which time the projected feature class exists to validate it.&amp;nbsp; When run as a tool, the model checks the validity of the Natural Neighbor Z Value Field value up front, before the Project tool has run, so the model fails to run.&amp;nbsp; Is there a way when running a model as a tool to delay validation of tool parameters such as this Z Value Field until the specific tool is ready to run?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 21:44:04 GMT</pubDate>
    <dc:creator>PaulSimpson</dc:creator>
    <dc:date>2012-06-11T21:44:04Z</dc:date>
    <item>
      <title>Is there a way to delay validation of tool parameters?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590707#M19575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone.&amp;nbsp; I am new to these forums, new to ModelBuilder, and pretty new to ArcGIS as well.&amp;nbsp; I am an experienced programmer, including object oriented languages, so for the most part I am able to psych out the ArcGIS tools for use in ModelBuilder.&amp;nbsp; Here is a problem which has eluded me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My model includes this section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15117[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Natural Neighbor tool requires a Z Value Field as input.&amp;nbsp; Unfortunately the model doesn???t know what fields are available until the Project tool has run.&amp;nbsp;&amp;nbsp; When I run within ModelBuilder there is no problem, since the model doesn???t check the validity of the Z Value Field entry until it is ready to run Natural Neighbor, by which time the projected feature class exists to validate it.&amp;nbsp; When run as a tool, the model checks the validity of the Natural Neighbor Z Value Field value up front, before the Project tool has run, so the model fails to run.&amp;nbsp; Is there a way when running a model as a tool to delay validation of tool parameters such as this Z Value Field until the specific tool is ready to run?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 21:44:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590707#M19575</guid>
      <dc:creator>PaulSimpson</dc:creator>
      <dc:date>2012-06-11T21:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to delay validation of tool parameters?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590708#M19576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;May not be possible in ModelBuilder. You need to chain the same sequence of tools in a Python script and use that script in a script tool. Script tool has tool validator class through which you can control validation. If you want to do so, start here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Customizing_script_tool_behavior/00150000000t000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Customizing_script_tool_behavior/00150000000t000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get started with creating script tools, start here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_creating_script_tools/001500000006000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_creating_script_tools/001500000006000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 02:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590708#M19576</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-12T02:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to delay validation of tool parameters?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590709#M19577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; I guess it was time to get in to python anyway.&amp;nbsp; P.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 22:10:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-there-a-way-to-delay-validation-of-tool/m-p/590709#M19577</guid>
      <dc:creator>PaulSimpson</dc:creator>
      <dc:date>2012-06-12T22:10:25Z</dc:date>
    </item>
  </channel>
</rss>

