<?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 Parameters in Python script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585025#M45920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to figure out parameters in python.&amp;nbsp; I created a model and it has some parameters in it.&amp;nbsp; When I run it and create a GP service from it, it asks me to enter those parameters and then runs.&amp;nbsp; I have a python script that I added to a toolbox hoping it would ask for those parameters as well.&amp;nbsp; when I add the script to the toolbox and run it, it says this tool has no parameters.&amp;nbsp; I assumed the in the script arguments from my example that the first_point = arcpy.GetParametersAsText(0) would ask me to enter the first point.&amp;nbsp; Can someone point me in the right direction?&amp;nbsp; TIA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# new_seg4.py
# Created on: 2015-10-29 07:32:00.00000
#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)
# Usage: new_seg4 &amp;lt;first_point&amp;gt; &amp;lt;end_point&amp;gt; &amp;lt;first_point__2_&amp;gt; &amp;lt;end_point__3_&amp;gt; &amp;lt;beg_point&amp;gt; &amp;lt;end_pt&amp;gt; &amp;lt;first_pt_loc&amp;gt; &amp;lt;end_pt_loc&amp;gt; &amp;lt;points&amp;gt; &amp;lt;segment&amp;gt; &amp;lt;temp__2_&amp;gt; 
# Description: 
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
arcpy.env.overwriteOutput = True
toolbox = ("E:/MDTAPPS/interactive/refmseg.tbx")
# Load required toolboxes
arcpy.ImportToolbox("E:/MDTAPPS/interactive/refmseg.tbx")
# Script arguments
first_point = arcpy.GetParameterAsText(0)
if first_point == '#' or not first_point:
&amp;nbsp;&amp;nbsp;&amp;nbsp; first_point = "E:\\MDTAPPS\\interactive\\interactive.mdb\\first_point" # provide a default value if unspecified
end_point = arcpy.GetParameterAsText(1)
if end_point == '#' or not end_point:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_point = "E:\\MDTAPPS\\interactive\\interactive.mdb\\end_point" # provide a default value if unspecified
first_point__2_ = arcpy.GetParameterAsText(2)
if first_point__2_ == '#' or not first_point__2_:
&amp;nbsp;&amp;nbsp;&amp;nbsp; first_point__2_ = "E:\\MDTAPPS\\interactive\\interactive.mdb\\first_point" # provide a default value if unspecified
end_point__3_ = arcpy.GetParameterAsText(3)
if end_point__3_ == '#' or not end_point__3_:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_point__3_ = "E:\\MDTAPPS\\interactive\\interactive.mdb\\end_point" # provide a default value if unspecified
beg_point = arcpy.GetParameterAsText(4)
if beg_point == '#' or not beg_point:
&amp;nbsp;&amp;nbsp;&amp;nbsp; beg_point = "beg_point" # provide a default value if unspecified
end_pt = arcpy.GetParameterAsText(5)
if end_pt == '#' or not end_pt:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_pt = "end_pt" # provide a default value if unspecified
first_pt_loc = arcpy.GetParameterAsText(6)
if first_pt_loc == '#' or not first_pt_loc:
&amp;nbsp;&amp;nbsp;&amp;nbsp; first_pt_loc = "E:\\MDTAPPS\\interactive\\interactive.mdb\\first_pt_loc" # provide a default value if unspecified
end_pt_loc = arcpy.GetParameterAsText(7)
if end_pt_loc == '#' or not end_pt_loc:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_pt_loc = "E:\\MDTAPPS\\interactive\\interactive.mdb\\end_pt_loc" # provide a default value if unspecified
points = arcpy.GetParameterAsText(8)
if points == '#' or not points:
&amp;nbsp;&amp;nbsp;&amp;nbsp; points = "E:\\MDTAPPS\\interactive\\interactive.mdb\\points" # provide a default value if unspecified
segment = arcpy.GetParameterAsText(9)
if segment == '#' or not segment:
&amp;nbsp;&amp;nbsp;&amp;nbsp; segment = "segment" # provide a default value if unspecified
temp__2_ = arcpy.GetParameterAsText(10)
if temp__2_ == '#' or not temp__2_:
&amp;nbsp;&amp;nbsp;&amp;nbsp; temp__2_ = "E:\\MDTAPPS\\interactive\\interactive.mdb\\temp" # provide a default value if unspecified
# Local variables:
Output_Event_Table_Properties = "RID POINT MEAS"
Output_Event_Table_Properties__2_ = "RID POINT MEAS"
MDTGIS_ROUTES_LRM_RM = "MDTGIS.ROUTES_LRM_RM"
MDTGIS_ROUTES_LRM_DC_MI = "MDTGIS.ROUTES_LRM_DC_MI"
MDTGIS_ROUTES_LRM_DC_MI__2_ = "MDTGIS.ROUTES_LRM_DC_MI"
interactive_mdb = "E:\\MDTAPPS\\interactive\\interactive.mdb"
MDTGIS_ROUTES_LRM_DC = "MDTGIS_ROUTES_LRM_DC"
temp = "E:\\MDTAPPS\\interactive\\interactive.mdb\\temp"
# Process: Calculate Field
arcpy.CalculateField_management(first_point, "Corridor", "str(!Corridor!) + \"_\" + str(!RM!)", "PYTHON_9.3", "")
# Process: Calculate Field (2)
arcpy.CalculateField_management(end_point, "Corridor", "str(!Corridor!) + \"_\" + str(!RM!)", "PYTHON_9.3", "")
# Process: Make Route Event Layer (2)
arcpy.MakeRouteEventLayer_lr(MDTGIS_ROUTES_LRM_RM, "ROUTE_ID", end_point__3_, "Corridor POINT end_offset", end_pt, "", "ERROR_FIELD", "NO_ANGLE_FIELD", "NORMAL", "ANGLE", "LEFT", "POINT")
# Process: Make Route Event Layer
arcpy.MakeRouteEventLayer_lr(MDTGIS_ROUTES_LRM_RM, "ROUTE_ID", first_point__2_, "Corridor POINT beg_offset", beg_point, "", "ERROR_FIELD", "NO_ANGLE_FIELD", "NORMAL", "ANGLE", "LEFT", "POINT")
# Process: Locate Features Along Routes
arcpy.LocateFeaturesAlongRoutes_lr(beg_point, MDTGIS_ROUTES_LRM_DC_MI, "CORRIDOR", "0 Meters", first_pt_loc, Output_Event_Table_Properties, "ALL", "NO_DISTANCE", "ZERO", "NO_FIELDS", "NO_M_DIRECTION")
# Process: Locate Features Along Routes (2)
arcpy.LocateFeaturesAlongRoutes_lr(end_pt, MDTGIS_ROUTES_LRM_DC_MI__2_, "CORRIDOR", "0 Meters", end_pt_loc, Output_Event_Table_Properties__2_, "FIRST", "NO_DISTANCE", "ZERO", "NO_FIELDS", "NO_M_DIRECTION")
# Process: Append
arcpy.Append_management("E:\\MDTAPPS\\interactive\\interactive.mdb\\first_pt_loc;E:\\MDTAPPS\\interactive\\interactive.mdb\\end_pt_loc", temp, "", "RID \"CORRIDOR\" true true false 10 Text 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\first_pt_loc,RID,-1,-1,E:\\MDTAPPS\\interactive\\interactive.mdb\\end_pt_loc,RID,-1,-1;beg_offset \"beg_offset\" true true false 8 Double 0 0 ,First,#;end_offset \"end_offset\" true true false 8 Double 0 0 ,First,#", "")
# Process: Table to Table
arcpy.TableToTable_conversion(temp__2_, interactive_mdb, "points", "", "RID \"CORRIDOR\" true true false 10 Text 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\temp,RID,-1,-1;beg_offset \"beg_offset\" true true false 8 Double 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\temp,beg_offset,-1,-1;end_offset \"end_offset\" true true false 8 Double 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\temp,end_offset,-1,-1", "")
# Process: Make Route Event Layer (3)
arcpy.MakeRouteEventLayer_lr(MDTGIS_ROUTES_LRM_DC, "CORRIDOR", points, "rid LINE beg_offset end_offset", segment, "", "ERROR_FIELD", "NO_ANGLE_FIELD", "NORMAL", "ANGLE", "LEFT", "POINT")
# Process: Script1
arcpy.Script1_ref()&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:09:15 GMT</pubDate>
    <dc:creator>TerryGustafson</dc:creator>
    <dc:date>2021-12-12T01:09:15Z</dc:date>
    <item>
      <title>Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585025#M45920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to figure out parameters in python.&amp;nbsp; I created a model and it has some parameters in it.&amp;nbsp; When I run it and create a GP service from it, it asks me to enter those parameters and then runs.&amp;nbsp; I have a python script that I added to a toolbox hoping it would ask for those parameters as well.&amp;nbsp; when I add the script to the toolbox and run it, it says this tool has no parameters.&amp;nbsp; I assumed the in the script arguments from my example that the first_point = arcpy.GetParametersAsText(0) would ask me to enter the first point.&amp;nbsp; Can someone point me in the right direction?&amp;nbsp; TIA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# new_seg4.py
# Created on: 2015-10-29 07:32:00.00000
#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)
# Usage: new_seg4 &amp;lt;first_point&amp;gt; &amp;lt;end_point&amp;gt; &amp;lt;first_point__2_&amp;gt; &amp;lt;end_point__3_&amp;gt; &amp;lt;beg_point&amp;gt; &amp;lt;end_pt&amp;gt; &amp;lt;first_pt_loc&amp;gt; &amp;lt;end_pt_loc&amp;gt; &amp;lt;points&amp;gt; &amp;lt;segment&amp;gt; &amp;lt;temp__2_&amp;gt; 
# Description: 
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
arcpy.env.overwriteOutput = True
toolbox = ("E:/MDTAPPS/interactive/refmseg.tbx")
# Load required toolboxes
arcpy.ImportToolbox("E:/MDTAPPS/interactive/refmseg.tbx")
# Script arguments
first_point = arcpy.GetParameterAsText(0)
if first_point == '#' or not first_point:
&amp;nbsp;&amp;nbsp;&amp;nbsp; first_point = "E:\\MDTAPPS\\interactive\\interactive.mdb\\first_point" # provide a default value if unspecified
end_point = arcpy.GetParameterAsText(1)
if end_point == '#' or not end_point:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_point = "E:\\MDTAPPS\\interactive\\interactive.mdb\\end_point" # provide a default value if unspecified
first_point__2_ = arcpy.GetParameterAsText(2)
if first_point__2_ == '#' or not first_point__2_:
&amp;nbsp;&amp;nbsp;&amp;nbsp; first_point__2_ = "E:\\MDTAPPS\\interactive\\interactive.mdb\\first_point" # provide a default value if unspecified
end_point__3_ = arcpy.GetParameterAsText(3)
if end_point__3_ == '#' or not end_point__3_:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_point__3_ = "E:\\MDTAPPS\\interactive\\interactive.mdb\\end_point" # provide a default value if unspecified
beg_point = arcpy.GetParameterAsText(4)
if beg_point == '#' or not beg_point:
&amp;nbsp;&amp;nbsp;&amp;nbsp; beg_point = "beg_point" # provide a default value if unspecified
end_pt = arcpy.GetParameterAsText(5)
if end_pt == '#' or not end_pt:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_pt = "end_pt" # provide a default value if unspecified
first_pt_loc = arcpy.GetParameterAsText(6)
if first_pt_loc == '#' or not first_pt_loc:
&amp;nbsp;&amp;nbsp;&amp;nbsp; first_pt_loc = "E:\\MDTAPPS\\interactive\\interactive.mdb\\first_pt_loc" # provide a default value if unspecified
end_pt_loc = arcpy.GetParameterAsText(7)
if end_pt_loc == '#' or not end_pt_loc:
&amp;nbsp;&amp;nbsp;&amp;nbsp; end_pt_loc = "E:\\MDTAPPS\\interactive\\interactive.mdb\\end_pt_loc" # provide a default value if unspecified
points = arcpy.GetParameterAsText(8)
if points == '#' or not points:
&amp;nbsp;&amp;nbsp;&amp;nbsp; points = "E:\\MDTAPPS\\interactive\\interactive.mdb\\points" # provide a default value if unspecified
segment = arcpy.GetParameterAsText(9)
if segment == '#' or not segment:
&amp;nbsp;&amp;nbsp;&amp;nbsp; segment = "segment" # provide a default value if unspecified
temp__2_ = arcpy.GetParameterAsText(10)
if temp__2_ == '#' or not temp__2_:
&amp;nbsp;&amp;nbsp;&amp;nbsp; temp__2_ = "E:\\MDTAPPS\\interactive\\interactive.mdb\\temp" # provide a default value if unspecified
# Local variables:
Output_Event_Table_Properties = "RID POINT MEAS"
Output_Event_Table_Properties__2_ = "RID POINT MEAS"
MDTGIS_ROUTES_LRM_RM = "MDTGIS.ROUTES_LRM_RM"
MDTGIS_ROUTES_LRM_DC_MI = "MDTGIS.ROUTES_LRM_DC_MI"
MDTGIS_ROUTES_LRM_DC_MI__2_ = "MDTGIS.ROUTES_LRM_DC_MI"
interactive_mdb = "E:\\MDTAPPS\\interactive\\interactive.mdb"
MDTGIS_ROUTES_LRM_DC = "MDTGIS_ROUTES_LRM_DC"
temp = "E:\\MDTAPPS\\interactive\\interactive.mdb\\temp"
# Process: Calculate Field
arcpy.CalculateField_management(first_point, "Corridor", "str(!Corridor!) + \"_\" + str(!RM!)", "PYTHON_9.3", "")
# Process: Calculate Field (2)
arcpy.CalculateField_management(end_point, "Corridor", "str(!Corridor!) + \"_\" + str(!RM!)", "PYTHON_9.3", "")
# Process: Make Route Event Layer (2)
arcpy.MakeRouteEventLayer_lr(MDTGIS_ROUTES_LRM_RM, "ROUTE_ID", end_point__3_, "Corridor POINT end_offset", end_pt, "", "ERROR_FIELD", "NO_ANGLE_FIELD", "NORMAL", "ANGLE", "LEFT", "POINT")
# Process: Make Route Event Layer
arcpy.MakeRouteEventLayer_lr(MDTGIS_ROUTES_LRM_RM, "ROUTE_ID", first_point__2_, "Corridor POINT beg_offset", beg_point, "", "ERROR_FIELD", "NO_ANGLE_FIELD", "NORMAL", "ANGLE", "LEFT", "POINT")
# Process: Locate Features Along Routes
arcpy.LocateFeaturesAlongRoutes_lr(beg_point, MDTGIS_ROUTES_LRM_DC_MI, "CORRIDOR", "0 Meters", first_pt_loc, Output_Event_Table_Properties, "ALL", "NO_DISTANCE", "ZERO", "NO_FIELDS", "NO_M_DIRECTION")
# Process: Locate Features Along Routes (2)
arcpy.LocateFeaturesAlongRoutes_lr(end_pt, MDTGIS_ROUTES_LRM_DC_MI__2_, "CORRIDOR", "0 Meters", end_pt_loc, Output_Event_Table_Properties__2_, "FIRST", "NO_DISTANCE", "ZERO", "NO_FIELDS", "NO_M_DIRECTION")
# Process: Append
arcpy.Append_management("E:\\MDTAPPS\\interactive\\interactive.mdb\\first_pt_loc;E:\\MDTAPPS\\interactive\\interactive.mdb\\end_pt_loc", temp, "", "RID \"CORRIDOR\" true true false 10 Text 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\first_pt_loc,RID,-1,-1,E:\\MDTAPPS\\interactive\\interactive.mdb\\end_pt_loc,RID,-1,-1;beg_offset \"beg_offset\" true true false 8 Double 0 0 ,First,#;end_offset \"end_offset\" true true false 8 Double 0 0 ,First,#", "")
# Process: Table to Table
arcpy.TableToTable_conversion(temp__2_, interactive_mdb, "points", "", "RID \"CORRIDOR\" true true false 10 Text 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\temp,RID,-1,-1;beg_offset \"beg_offset\" true true false 8 Double 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\temp,beg_offset,-1,-1;end_offset \"end_offset\" true true false 8 Double 0 0 ,First,#,E:\\MDTAPPS\\interactive\\interactive.mdb\\temp,end_offset,-1,-1", "")
# Process: Make Route Event Layer (3)
arcpy.MakeRouteEventLayer_lr(MDTGIS_ROUTES_LRM_DC, "CORRIDOR", points, "rid LINE beg_offset end_offset", segment, "", "ERROR_FIELD", "NO_ANGLE_FIELD", "NORMAL", "ANGLE", "LEFT", "POINT")
# Process: Script1
arcpy.Script1_ref()&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585025#M45920</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2021-12-12T01:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585026#M45921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must add the parameters to the Toolbox script.&amp;nbsp; Right-click the Toolbox script and open the Properties dialog to find the Parameters tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 14:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585026#M45921</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-10-29T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585027#M45922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I was looking for..  My first_point is a table so would the data type be table for the parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:05:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585027#M45922</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-29T15:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585028#M45923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your example code it looks like you are just passing in the path to the table, so... maybe the parameter should just be a string type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:12:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585028#M45923</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-10-29T15:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585029#M45924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I spoke to soon, I thought I could set those parameters once the GP service was created.  If I set them in the script before I run it to publish it, it crashes..  I set them to string..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;  File "C:\Users\U0654\Desktop\new_seg4.py", line 29, in &lt;/P&gt;&lt;P&gt;    first_point__2_ = arcpy.GetParameterAsText(2)&lt;/P&gt;&lt;P&gt;  File "E:\MDTAPPS\Desktop10.2\arcpy\arcpy\__init__.py", line 632, in GetParameterAsText&lt;/P&gt;&lt;P&gt;    return gp.getParameterAsText(index)&lt;/P&gt;&lt;P&gt;  File "E:\MDTAPPS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 224, in getParameterAsText&lt;/P&gt;&lt;P&gt;    self._gp.GetParameterAsText(*gp_fixargs(args, True)))&lt;/P&gt;&lt;P&gt;RuntimeError: Object: Error in getting parameter as text&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585029#M45924</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-29T15:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585030#M45925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My end goal it to add this service to a WAB widget and have the user enter the information from the widget and then it passes the data to the service..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585030#M45925</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-29T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585031#M45926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you set a parameter for&amp;nbsp; first_point__2_?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:40:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585031#M45926</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-10-29T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585032#M45927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your help, I have been struggling learning this..&amp;nbsp; I did look at the parameters in the model and it gave me an example so going to try this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585032#M45927</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-29T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585033#M45928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if its going to work as the only reason I made some of those parameters was to get the model to export the variables correctly so it would run.&amp;nbsp; when I run it through the model with only the first_point and the end_point as parameters and generate the GP service and run it this is the dialog that shows..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 16:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585033#M45928</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-29T16:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585034#M45929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m thinking the segment would have an output parameter?  So the direction would be output? In the parameter properties?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585034#M45929</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-29T19:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in Python script</title>
      <link>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585035#M45930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really do not have an understanding of what you are trying to do with your script.&amp;nbsp; I'd suggest you strip out as much as possible, simplifying things down to bare necessities that accomplishes a portion or a simplified version of what you expect.&amp;nbsp; Then build upon what you learn from that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 12:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parameters-in-python-script/m-p/585035#M45930</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-10-30T12:18:17Z</dc:date>
    </item>
  </channel>
</rss>

