Hi Everyone,
I've made a script to add fields to all my feature classes inside a gdb. My issue is that I'm trying set my Parameters in my Script Tool so that a user can run the script on any gdb they input by setting the workspace with arcpy.GetParameterAsText(0)
import arcpy
arcpy.env.workspace = arcpy.GetParameterAsText(0)
fcList = arcpy.ListFeatureClasses()
for fc in fcList:
arcpy.management.AddField(....)
arcpy.management.AddField(....)
Am I missing a step?