<?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: Error 00075 Input Features Value is Required in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478574#M16031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Try running your script tool with all the input values once and save the model. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Now connect the output of the script tool to the next tool. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Make sure that the feature type that your script tool is creating is an accepted as a valid input type for the next tool.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Remove all the previously added input values from your script tool parameters to make the tool a generic tool once again.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 22:30:37 GMT</pubDate>
    <dc:creator>ShitijMehta</dc:creator>
    <dc:date>2011-08-04T22:30:37Z</dc:date>
    <item>
      <title>Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478573#M16030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - I've got a python script that takes four points and makes a shapefile.&amp;nbsp; I've put the script inside a model and want it to provide the input to a Minimum Bounding Geometry Tool.&amp;nbsp; I've created a derived output parameter in the script that provides the input, but I get the subject error when I run the model -- the part of my code where I try to generate the output parameter is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ptFile = gp.CreateFeatureClass_management(outFolder, outFile, "Point", "#", "#", "#", sr)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.SetParameterasText(0, ptFile)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the script runs fine on its own, and creates a shapefile, but somehow this output parameter is not getting passed to the Minimum Bounding Geometry Tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is a screen shot of my model&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas about what I'm doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 22:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478573#M16030</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2011-08-04T22:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478574#M16031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Try running your script tool with all the input values once and save the model. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Now connect the output of the script tool to the next tool. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Make sure that the feature type that your script tool is creating is an accepted as a valid input type for the next tool.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Remove all the previously added input values from your script tool parameters to make the tool a generic tool once again.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 22:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478574#M16031</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-08-04T22:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478575#M16032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may be setting the wrong parameter with SetParameterAsText.&amp;nbsp; You have 8 input parameters.&amp;nbsp; Your derived output should ALWAYS be the last parameter.&amp;nbsp; Therefor, you should be doing SetParameterAsText(8, ptFile).&amp;nbsp; Also make sure that ptFile has a valid value (i.e., add a message to check its value).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 23:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478575#M16032</guid>
      <dc:creator>DaleHoneycutt</dc:creator>
      <dc:date>2011-08-04T23:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478576#M16033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the error is definately occuring at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.SetParameterAsText(8, ptFile)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as I've added a Message below this line and the script jumps to the exception -- is there any way to get a description of the error exception?&amp;nbsp; Its very odd because the shapefile gets created successfully&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;Pete&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478576#M16033</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2011-08-08T15:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478577#M16034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you share your model/script tool?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 16:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478577#M16034</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-08-08T16:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478578#M16035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/12/01/Tips-and-tricks-_2D00_-Error-handling-in-Python-script-tools.aspx"&gt;blog post&lt;/A&gt;&lt;SPAN&gt; on getting error descriptions.&amp;nbsp; It may help you to debug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 16:22:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478578#M16035</guid>
      <dc:creator>DaleHoneycutt</dc:creator>
      <dc:date>2011-08-08T16:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478579#M16036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here they are&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 16:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478579#M16036</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2011-08-08T16:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478580#M16037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;uploaded wrong script on previous post -- this is it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 16:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478580#M16037</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2011-08-08T16:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478581#M16038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Several issues here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- You're mixing gp = arcgisscripting.create() with arcpy.&amp;nbsp; Choose one or the other.&amp;nbsp; While it's technically feasible to mix them in a script, there are numerous issues that can arise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A tool returns a result object.&amp;nbsp; You were setting the output parameter to this result object and it fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a snippet (from your code) that works with arcpy...&amp;nbsp; Note that I'm using SetParameterAsText.&amp;nbsp; I tested this in a model and it updates the derived output correctly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.env.overwriteOutput = True


#sr = gp.CreateSpatialReference("C:\\Program Files\\ArcGIS\\Desktop10.0\\Coordinate Systems\\Geographic Coordinate Systems\\North America\\NAD 1983.prj")
sr = "#"
result = arcpy.CreateFeatureclass_management(r"E:\scratch\scratch.gdb", "Test", "Point", "#", "#", "#", sr)
ptfile = result.getOutput(0)
arcpy.AddMessage("output feature class is: " + ptfile)
arcpy.SetParameterAsText(8, ptfile)
arcpy.AddMessage("Checking: set output parameter 8")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478581#M16038</guid>
      <dc:creator>DaleHoneycutt</dc:creator>
      <dc:date>2021-12-11T21:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00075 Input Features Value is Required</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478582#M16039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your help - it is working now when run as script and in the model&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 18:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-00075-input-features-value-is-required/m-p/478582#M16039</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2011-08-10T18:25:24Z</dc:date>
    </item>
  </channel>
</rss>

