ionarawilson

Python toolbox default parameter to get updated automatically?

Discussion created by ionarawilson on Oct 31, 2013
Latest reply on Oct 31, 2013 by ionarawilson
I have a python toolbox defining the default parameter of a tool based on a value in a combobox created with a python add-in. The code works, but I have to manually refresh the tool everytime I change the values in the combobox. Is there a way for this python toolbox default parameter to get updated without the manual refresh? Thanks

        import Comboboxes_addin
       
        # the default values
        param2.value = Comboboxes_addin.combobox_1.value

Outcomes