I have python code that I want to turn into a script.
I want the end user to be able to navigate to the feature class the code should be run on.
The code I have currently speaks to a specific feature class and doesn't allow for picking what feature class the code is to be run on.
How do I change my code so I can have the parameters in the script allow the end user to pick what feature class the code should be run on?
What do I need to change in my code to allow for the peramiters I set up in the script to replace this line of code? I need fc to equal the input the end user selects not a specific feature class as the code currently stands.
I changed that line of code to
fc = arcpy.GetParameterAsText(0) and set up parameters in my script dialogue but it errors out on me every time. Code works fine w/out the "getparametersastext" addition mentioned above.