abConnectAttToMultObj

April 30th, 2008

This smoothly named little script will allow you to quickly connect an object attribute to an attribute on many objects.  It's good for connecting a control curve attribute to visibility or smoothing (etc.) on lots of objects.

Instructions

1. Select an object and attribute on it or one of its related nodes in the channelBox and click "Select Driver Attribute".

2. Select one or more objects that all have in common the node type to which you wish to connect the driver attribute and click "Set Connected Objects".

3. Select the attribute in the scroll list to which you wish to connect the driver and click "Connect" to make the connections.

Note that there's currently no type checking to ensure that the nodes are of the same type and connectable.  I leave that to you.

"abConnectAttToMultObj" was posted on April 30th, 2008 under Mel Scripts.  It was created using Maya.

Subscribe to the Comments Feed for this entry.

Share |

comments

zhenyang
May 28th, 2008 said:

i keep getting an error "// Error: Invalid flag: -settable //" when clicking on Set Connected Objects

May 29th, 2008 said:

Hmmm, I guess -settable is a recently added flag.  Which version of Maya are you using?

zhenyang
May 29th, 2008 said:

version 7 :)

July 6th, 2009 said:

Thank you. This script is a great help.

February 14th, 2013 said:

Such a time saver .Great script .


just say it






    

Related Posts