<?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: This tool has no parameters in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272479#M21047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I haven't. I'll look at that now. Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Nov 2010 11:10:07 GMT</pubDate>
    <dc:creator>denisedavis</dc:creator>
    <dc:date>2010-11-28T11:10:07Z</dc:date>
    <item>
      <title>This tool has no parameters</title>
      <link>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272477#M21045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been running through some code samples to try to discover an issue I'm having and I am having the same issue with the samples. I have been looking at this for 2 days now so it is most likely something I am just not seeing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 18:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272477#M21045</guid>
      <dc:creator>denisedavis</dc:creator>
      <dc:date>2010-11-27T18:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: This tool has no parameters</title>
      <link>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272478#M21046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you create a tool in arctoolbox which contains the 4 parameters as specified below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;folderLocation = arcpy.GetParameterAsText(0)&amp;nbsp;&amp;nbsp; # a folder which be required and an input parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layerFile = arcpy.GetParameterAsText(1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # a layer which be required and an input parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dfName = arcpy.GetParameterAsText(2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # a filename, required and input&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;position = arcpy.GetParameterAsText(3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #a numeric value, index presumed to be short integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or are you getting a specific error message?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 18:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272478#M21046</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2010-11-27T18:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: This tool has no parameters</title>
      <link>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272479#M21047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I haven't. I'll look at that now. Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Nov 2010 11:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272479#M21047</guid>
      <dc:creator>denisedavis</dc:creator>
      <dc:date>2010-11-28T11:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: This tool has no parameters</title>
      <link>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272480#M21048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your probably solved the problem already, if not:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Line 30:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(folderLocation = arcpy.GetParameterAsText(0))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for what do you need this? at the moment you can delete it (except you want to do other stuff with it.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In line 43:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.mapping.AddLayer(df, addLayer, &lt;/SPAN&gt;&lt;STRONG&gt;position&lt;/STRONG&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of - position - use one of those :&amp;nbsp; "TOP", "BOTTOM" or "AUTO_ARRANGE"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and delete line 33 OR simply watch out to use one of those as Input for the parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you delete line 30, rearrange the the parameter order YYY = arcpy.GetParamterAsText(&lt;/SPAN&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;SPAN&gt;) in the right way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 13:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272480#M21048</guid>
      <dc:creator>CosminTana</dc:creator>
      <dc:date>2010-11-29T13:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: This tool has no parameters</title>
      <link>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272481#M21049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. I had to go in and set up the tool parameters in the properties of the script. That solved the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 13:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/this-tool-has-no-parameters/m-p/272481#M21049</guid>
      <dc:creator>denisedavis</dc:creator>
      <dc:date>2010-11-29T13:49:50Z</dc:date>
    </item>
  </channel>
</rss>

