# Get Parameters infc = arcpy.GetParameterAsText(0) recl_rule = arcpy.GetParameterAsText(1) outfc = arcpy.GetParameterAsText(2) # Local Parameters recl_value = "VALUE" recl_data = "DATA" # Reclassify outRecl = arcpy.sa.Reclassify(infc, recl_value, recl_rule, outfc, recl_data) outRecl.save("outfc")
I suspect that you didn't specify that the properties for that parameter are "obtained from" your input feature class.
The parameter needs to have �??obtained from�?� to be set to the input feature class. But since this is not possible in the UI, there is the validation script which can be used to apply the dependency (highlighted line in the screenshot below.)
This fixes the problem, and now the values are allowed to be edited in the UI.
The bug here seems to be a very old one, since I have seen messages from way back in 2005, but no solutions like the one I have found.
This should definitely solve the problem, as seen in the second attachment.:)
outRecl = arcpy.sa.Reclassify(infc, recl_value, recl_rule, recl_data)
RafealR, did you ever resolve how to populate the remap value table automatically?