List Connections in the Hypergraph
Software Needed: Maya 8.x Skill: Basic MEL
When editing the connections of a gven node can be confusing in the hypergraph. The hypergraph will get very complex depending on the amount of connections. As you can see there is only 4 custom channels. Now, if I wanted to edit the "Lf Eye" and "Rt Eye" connections, we will use the Hypergraph: Connections. Located at Window->Hypergraph: Connections. Using "Input and output Connections" in the hypergraph will produce the same results.
The results is a very comply hierarchy that is not very user friendly to edit. If you notice the outputs of the "cn_head_CTRL", there is a long list of outputs (that is only a small snap shot of the output list), this is causing all the problems. A new menu option will be added when you RMC over the "Channel Box" unfortunately, "Print Screen" does not capture the menu. The new option is called "Graph Selected Channels". The following results is the product of the new code that will be used.
Add the following line above:
menuItem -label "Graph Selected Channels" -c "channelBoxCommand -graphSelected" graphSelected; It will now look like:
menuItem -label "Graph Selected Channels" -c "channelBoxCommand -graphSelected" graphSelected;
The new change will not take in effect until after you restart Maya. Congratulations, you edited the RMC menu for the "Channel Box". This should get you on your way to adding new menu options to Maya's RMC "Channel Box" Menu. |
To keep more tutorials coming from www.meljunky.com please send me your comments and suggestions at: brian@meljunky.com
Author: Nihilists
Submitted: 2007-04-03 10:09:40 UTC
Tags:
Software: Maya
Views: 16,618
Related Items
-
City in the Hills 696 3D Model
$150.00 (USD) -
House in the mountains 3D Model
$88.00 (USD) -
Beer bar in the apocalyptic world 3D Model
$15.00 (USD) -
Stained glass window in the floor with radiator 3D Model
$15.00 (USD) -
Set trash cans in the office 3D Model
$12.00 (USD) -
Hotels in the mountains 3D Model
$60.00 (USD) -
3 story modern glass house nestled in the hills 3D Model
$48.00 (USD) -
Modern hotel in the forest 098 3D Model
$80.00 (USD) -
Modern Apartment Building In the river bank 070 3D Model
$120.00 (USD)