I've been write a script that use compound attr on python.
but, I can't use it well.
I want to make the compound attr had a series of children and got connected with some attr.
When create, remove, and connect them, those childeren is not removed clear.
So, it cause some trouble.
I just use the mel command "AEnewNonNumericMultiAddNewItem" and "AEremoveMultiElement" on python. like below
mel.eval('AEnewNonNumericMultiAddNewItem("%s","%s") ;' % (model_, 'con'))
model_ is a node and con is the compound attritube.