ArcPy Add-in – Refreshing Combobox of Python Add-in in ArcPy

arcgis-10.1arcpycombo-boxpython-addin

I need to refresh the value in the combobox after an event from other tool in the same add-in (ARCGIS 10.1. Python).

I've changed the value of the combobox with the code:

combobox.value = val

and I want to show it in the combobox but I can't refresh this combobox after give a value in other tool.

Best Answer

As documented in the help, use the .refresh() method:

combobox.value = val
combobox.refresh()
Related Question