I am trying to use arctoolbox and python so that the user can enter in parameters. In my script I have the following lines
_StationInterval = arcpy.GetParameterAsText(0)
I just want the user to be able to enter in a value for the station interval. However I get the error:
<type 'exceptions.NameError'>: name '_StationInterval' is not defined Failed to execute (Final3Test).
Before I used arctoolbox, I had the station interval set to a value in the script, i.e. _StationInterval = 10000
Am I missing something in my script??