Mar-11-2024, 12:12 AM
(This post was last modified: Mar-11-2024, 12:12 AM by deanhystad.)
You are getting an error because of line 4, not because of anything in the comments. If you want to do this:
outfc = arcpy.GetParameterAsText(1)You need to first do this:
import arcpyYou should not use Python 2.7, use a current version of python.