Working with Strand Groups 

A strand group is a whole-number label assigned to a guide or hair strand. Groups let you split a groom into parts and style each part separately, by telling an operator which groups it should affect. For example, you might place a character's fringe in one group and the rest of the hair in another, then add separate styling operators for each.

 

Assigning strands to groups 

The most common way to assign groups is on guides, using the Edit Guides Operator:

  1. In the Edit Guides Operator, enter Roots mode and select the strands you want, or use the selection brush in brush mode.
  2. Open the strand groups controls and enable the use of strand groups.
  3. Choose a group index and assign the selected strands to it, or assign a unique index to each selected strand.

Groups can also be assigned on dense hair (by adding Edit Guides Operator above Hair from Guides Operator), set per strip when using Hair from Mesh Strips Operator, or generated procedurally - by expression, map, or randomly - with the Generate Strand Data Operator.

 

Selecting strands by group 

In the Edit Strands and Control Points tools, the Strand Groups section offers several ways to select by group:

  • Type a group pattern into Groups and click Select to select the strands in those groups.
  • Select Previous and Select Next select the strands of the next smaller or larger group than the current selection.
  • With Select By Group enabled, clicking a strand also selects the other strands in its group. In the Control Points tool, clicking a control point also selects the control point at the same place on every other strand in that group.
 

Using groups in operators 

Most operators expose a strand group parameter. The value you enter decides which strands the operator acts on. An empty value or 0 means the operator applies to all strands that have no group assigned; group 0 is the default for ungrouped strands.

 

Strand group patterns 

The strand group parameter accepts more than a single number. You can describe a combination of groups with a compact pattern syntax:

  • Single group: 1 affects group 1.
  • Multiple groups: 1, 3, 5 affects groups 1, 3, and 5.
  • Range: 1:5 affects groups 1 through 5.
  • Range with stride: 1:10:2 affects every second group from 1 to 10.
  • All groups above a value: +2 affects group 2 and every higher group.
  • Exclude a single group: ^4 affects all groups except 4.
  • Exclude a range: ^4:6 affects all groups except 4 through 6.
  • Combine a single group and a range: 1, 3:5 affects group 1 and groups 3 through 5.

This makes it easy to direct one operator at exactly the strands you intend, without re-assigning groups.

 

Picking groups in the viewport 

Instead of typing a pattern, you can pick the groups from the viewport. Hover over or click into any strand group pattern field - an operator's strand group parameter, the Groups field of the Edit Strands tool or the Strand Group field of the Draw Strands tool - and an eyedropper button appears at its right end.

  1. Click the eyedropper.
  2. Move the cursor over the hair or guides in the viewport. The strand under the cursor is highlighted, and a tooltip shows its group and whether a click adds it.
  3. Click the strand to add its group to the pattern. Shift+click adds the group and keeps picking, so you can collect several groups in a row.

A group the pattern already includes is not added again. Press Escape, right-click without dragging, or click the eyedropper again to stop picking. Each pick can be undone.

 

Related 

Missing Something? Let us know if this page needs more information about the topic.