Hi Surendran Neelakantan,
As per our phone conversation earlier, we implemented the following to resolve this issue.
import arcpy
import pythonaddins
class cbxClass1(object):
"""Implementation for ComboBoxExample_addin.cbx1 (ComboBox)"""
def __init__(self):
self.items = [chr(n) * 3 for n in range(65, 65+3)]
self.editable = True
self.enabled = True
self.dropdownWidth = 'WWWWWW'
self.width = 'WWWWWW'
cbxClass1._hook = self
def onSelChange(self, selection):
cbxClass2._hook.items.extend([selection])
class cbxClass2(object):
"""Implementation for ComboBoxExample_addin.cbx2 (ComboBox)"""
def __init__(self):
self.items = [chr(n) * 4 for n in range(90, 90 - 3, -1)]
self.editable = True
self.enabled = True
self.dropdownWidth = 'WWWWWW'
self.width = 'WWWWWW'
cbxClass2._hook = self
def onSelChange(self, selection):
cbxClass1._hook.items.extend([selection])
As I stated on our call, there will be more than way to accomplish this. I will ensure that this approach is documentation on a public facing knowledge article. I will also pass this information along to the necessary parties to determine how we can better explain this workflow within our documentation. Please let me know if you have any problems with this.
Freddie G.