Sometimes you'll have a node on a rig or in your scene that has thousands of outgoing connections on lots of different attributes. You may only want to edit a specific attribute's outgoing connections but you can't find them in the Hypergraph because there are just too many to search through. Here is a small trick to speed that up.
Let's assume your node is called "
myBusyNode". The attribute you're looking to check is called, "
thisAttr".
// Selects all nodes that are outgoing connections of myBusyNode.thisAttr
select -r `listConnections -s false -d true myBusyNode.thisAttr` ;
Alternately you can select the incoming connections by swapping source and destination.
// Selects all nodes that are incoming connections of myBusyNode.thisAttr
select -r `listConnections -s true -d false myBusyNode.thisAttr` ;
And, of course you could set both to true and select both incoming and outgoing nodes.
The return value of
listConnections will give you all of the outgoing connected nodes from that attribute. You can then focus on your selection in the Hypergraph and you'll be able to see only the network of your selected nodes, not every single connection coming out of
myBusyNode. I use this trick about four hundred and eighty seven times a day.