<?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: Validating function with Calculate Value arcpy function as input in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/validating-function-with-calculate-value-arcpy/m-p/1010221#M570</link>
    <description>&lt;P&gt;I suspect this is an issue with the parameter type, sometimes the help file can be unclear or misleading. Try running the extract by rectangle tool by itself, so not in a model, let it run then from the history panel export it as a python script, this will give you insight on &lt;EM&gt;exactly&lt;/EM&gt; how the parameter format is set. You may find that it differs from what is documented in the help?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 17:19:06 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2020-12-16T17:19:06Z</dc:date>
    <item>
      <title>Validating function with Calculate Value arcpy function as input</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/validating-function-with-calculate-value-arcpy/m-p/819574#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the calculate value expression str(arcpy.Extent(%XMin%,%YMin%,%XMax%,%YMax%)), where the arguments are model variables of type double. Calculate Value runs correctly and outputs space separated double precision values as a string. However, when I run the next process (Extract by Rectangle) I get the warning "All of the processes are not ready to run or have already run" and the process becomes greyed out. (Note: the parameter link in the screenshot is called "rectangle" despite referring to the "extent" parameter)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I run Extract by Rectangle with programmatic input for the Extent parameter?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="509007" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/509007_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I have had a &lt;A _jive_internal="true" href="https://community.esri.com/thread/254123-populating-point-variable-in-modelbuilder"&gt;similar problem with the Extract by Circle tool&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 22:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/validating-function-with-calculate-value-arcpy/m-p/819574#M569</guid>
      <dc:creator>DylanMcDougall</dc:creator>
      <dc:date>2020-09-30T22:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Validating function with Calculate Value arcpy function as input</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/validating-function-with-calculate-value-arcpy/m-p/1010221#M570</link>
      <description>&lt;P&gt;I suspect this is an issue with the parameter type, sometimes the help file can be unclear or misleading. Try running the extract by rectangle tool by itself, so not in a model, let it run then from the history panel export it as a python script, this will give you insight on &lt;EM&gt;exactly&lt;/EM&gt; how the parameter format is set. You may find that it differs from what is documented in the help?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/validating-function-with-calculate-value-arcpy/m-p/1010221#M570</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2020-12-16T17:19:06Z</dc:date>
    </item>
  </channel>
</rss>

