talk.bindpose.com has been shut down on the 6th of March 2021. You can read a bit more about it here.

You are currently reading an archived copy of the latest content, with all the usernames deleted.

Quick Connect Attributes

by user222 posted 26-11-2018

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()