My issue is as follows. If you set a custom script to be run when you click a picker button, the code gets executed once when the Anim Picker window is first shown.
So if for example I set this custom script:
‘’’
import maya.cmds as cmds
cmds.sphere()
‘’’
when I first open the Anim Picker GUI a sphere is created. This means that i f I have 7 buttons with the above code, 7 spheres are created. I don’t know if this is something just happening to me or what.
Cheers