HyperGroups
Make a HyperGroup
Select nodes and press Ctrl+G — they turn into one node, a HyperGroup. The connections of the selected nodes to the rest of the graph come out on its boundary as rows: inputs on the left, outputs on the right.
The Maya graph doesn't change: connections stay direct, and the group itself is stored in one service node. Ctrl+Shift+G (Ungroup) brings everything back as it was.
Inside
Double-click a HyperGroup to open it. Inside are its nodes and two service nodes, input and output: connections to the outside go through them. The canvas background inside has its own color, so you can see you're not at the top level.
At the top of the canvas is the path of nested groups. Click any step to go back to that level; steps deeper than the current one stay clickable too, like "forward" in a browser.
HyperGroups nest inside each other to any depth: inside a group you can make groups of its own, and more inside those.
The group boundary
The rows on the boundary are the group's interface. They're always visible, even when the connection through them is broken.
- Add a row. At the bottom of the row list there are two New placeholders — one for an input and one for an output. Drag a connection onto the one you need, and a new row appears. From inside, you do the same on the input and output nodes.
- Your own parameter. Right-click the HyperGroup → Add Attribute… adds an attribute to the group itself: connect it to nodes inside and turn it from outside, like a knob.
- Rename, remove, reorder a row — right-click it; the same items as for a regular node's attributes. A row can be edited from outside and from inside — it's the same row.
The values of input rows are shown and edited right on the HyperGroup, and the Channel Box shows them for the selected group.
Add nodes to a group
Drag nodes onto the HyperGroup, or right-click a node → Move to group…. A node that is already connected to the group through its boundary can't join it — otherwise it would end up on both sides of one connection.
Your own node library
A setup that works — a twist joint, an arm stretch, any piece of network you build over and over — can be saved: right-click the group → Save HyperGroup…. It appears at the very bottom of the Tab menu, under HyperGroups, and goes into any scene with one pick — with all its contents, nested groups and wiring inside. Connections to the rest of the graph don't go into the template.
If you placed a group from the library, changed it and are saving it again, the window offers to overwrite the same template.
Instances
A group can be multiplied as linked copies: right-click → Create Instance…. Change one copy, and Update Instances makes the others the same. Each copy keeps its own connections to the rest of the rig and its own input row values. That's how improving the setup of one finger spreads to the rest.
- From outside, a copy is recognized by the badge in the corner of the HyperGroup: the number of copies and the set's own color.
- Inside a changed copy, the Update instances button in the top right corner of the canvas lights up.
- Make Unique unlinks a copy from its set; Link as Instance of links an existing group to another one.
- The nodes of each copy differ by a suffix in their names. To change it — Set Instance Suffix….
Maya's usual Ctrl+Z undoes an instance update.
Ungroup and delete
- Ctrl+Shift+G (Ungroup) removes the group and moves its nodes one level up. The rig doesn't change.
- Del deletes the group together with all nodes inside.
Color
The color of HyperGroups and the input/output nodes is changed in Display → Interface Settings… → Nodes → Hyper Group; the canvas background inside groups is in the same window, on the Canvas tab.
Next: Channel Box.