<?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: Python Script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script/m-p/743669#M57494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script, the parameters are already set, for example, in the line,&amp;nbsp;v_Data_para_mapas_PN__ = arcpy.GetParameterAsText(0).&amp;nbsp; This is because you set those parameters in the model.&amp;nbsp; If you would like to use this script in a script tool in ArcMap or arcGIS Pro, you will need to set the parameters in the tool as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/setting-script-tool-parameters.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/setting-script-tool-parameters.htm"&gt;Setting script tool parameters—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Parameters tab of the script tool properties, the parameter has to match up with the index number of the parameter in the script.&amp;nbsp; For example, the line I mentioned before will need to be the first one listed because that index is 0, then 1 and 2 will need to be listed next in order to set the input from the user to correspond with the parameter in the script.&amp;nbsp; Just make sure to set the Data Type of the parameter correctly based on how it will be used in the script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Marisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 20:23:46 GMT</pubDate>
    <dc:creator>MarisaClaggett</dc:creator>
    <dc:date>2018-10-03T20:23:46Z</dc:date>
    <item>
      <title>Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/743668#M57493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to using Python Scripting for ArcGIS and I'm creating a model where I want to create heat map from an excel table. I did the model in ModelBuilder and then I exported it to Python but I do not know how to configure the parameters to run the toolbox in ArcMap or ArcGIS Pro. I enclose the model so I can get help if possible. I'll thank you in advance for any help you can offer me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/743668#M57493</guid>
      <dc:creator>josuedi</dc:creator>
      <dc:date>2018-09-17T20:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/743669#M57494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script, the parameters are already set, for example, in the line,&amp;nbsp;v_Data_para_mapas_PN__ = arcpy.GetParameterAsText(0).&amp;nbsp; This is because you set those parameters in the model.&amp;nbsp; If you would like to use this script in a script tool in ArcMap or arcGIS Pro, you will need to set the parameters in the tool as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/setting-script-tool-parameters.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/setting-script-tool-parameters.htm"&gt;Setting script tool parameters—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Parameters tab of the script tool properties, the parameter has to match up with the index number of the parameter in the script.&amp;nbsp; For example, the line I mentioned before will need to be the first one listed because that index is 0, then 1 and 2 will need to be listed next in order to set the input from the user to correspond with the parameter in the script.&amp;nbsp; Just make sure to set the Data Type of the parameter correctly based on how it will be used in the script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Marisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 20:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/743669#M57494</guid>
      <dc:creator>MarisaClaggett</dc:creator>
      <dc:date>2018-10-03T20:23:46Z</dc:date>
    </item>
  </channel>
</rss>

