Quick Connect Attributes
Here's a useful little doodad. Quickly connect atrtibutes of selected objects. First object selected connects to all objects in the list, based on what's highlighted in the channel box). I set this to a hotkey - Shift-Ctl C. You can use a different hotkey but just be aware that all other choices are inferior.
import maya.cmds as cmd import maya.mel
def superConnectO(): obs = cmd.ls(sl=True) selected = mel.eval('selectedChannelBoxAttributes') for one in selected: for i in range(1, len(obs)): cmd.connectAttr('%s.%s' % (obs[0], one), '%s.%s' % (obs[i], one))
superConnectO()