Primitive Group
Primitive groups are a collection of associated primitives that are treated as a set. This is important because you can apply operations to them as a whole - saving you from having to apply discrete operations to each element. Moreover, primitive groups can be used to filter out primitives that aren't needed for a specific operation. Rather than affecting an entire input, grouping restricts the scope of an operation to the primitives in the group.
Creating Primitive Groupsedit
To group primitives in Touch use a Group SOP, any SOP with a point group input field, or the Select state in a SOP Editor. To group primitives in the SOP Editor:
- Use the Select state, and in the sub-icons, choose the Primitive Groups icon.
- Select the desired primitives with the cursor.
- Call up the Parameters dialog by clicking the + button, and click on the Combine Groups page-tab.
- Type a new group name in the edit field.
- Click on the group <- selection button.
Ordered and Unordered Groupsedit
A primitive group can be ordered or unordered. In the SOP Editor's Select state, a single click of the mouse button performs an ordered selection. Bulk selections are made by dragging the cursor across the primitives. This action creates a marquee box that encloses a number of primitives. Primitives selected in this fashion generate an unordered group.
The only time bulk selections generate or maintain an ordered selection is when only one primitive is caught in the marquee box. Unordered groups store their primitives in creation order; ordered groups store primitive in selection order.
If you want to reselect the primitives in the group, you can do so by calling up the Parameters dialog from the Select state, and selecting the group name from the Group parameter pop-up menu under the Combine Groups page-tab. Then click on the button selection <- group.
When a primitive is deleted, Touch automatically removes the primitive from all the primitive groups it might belong to.
See also: Point Groups, Geometry Detail, Point, Point List, Point Class, Primitive, Prims Class, SOP, SOP Class, Script SOP, Attributes.