Reclassify GUI/form not active in Python script

Discussion created by rpw on Feb 12, 2012
Latest reply on Dec 15, 2013 by umersharif

I have trouble running a Python script, which I added to the ArcToolbox through "Add" -> "Script". The idea is that the user can define the reclassification rules, so the reclassification rules are passed as a parameter.

The problem is that when I open the script, the Reclassify form/GUI is empty and not active (see attached screenshot), i.e. it's not possible to add or change the classification (when clicking any of the buttons, such as Classify, Unique, Add Entry, and Load, nothing happens).

Here the code snippet:

# 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)

The reclassify input ( GetParameterAsText(1) ) is defined as Data Type "Remap" in the script properties (tab "Parameters").

Version is ArcGIS 10.0 SP3.

Does anyone have an idea why this does not work?

Thanks a lot in advance,