GeoSelector

The GeoSelector node allows you to store a face or vertex selection in the Viewer and then reapply the selection to another object. Each selection is stored using the prim's scene graph location, so you can store as many selections as required as long as each selection has a unique path. For example, an 8x8 card with its top row of faces selected and another 8x8 card with all faces selected:

{ /GeoCard1/Card faces 8 1 56 0 facWei 8 1 56 0 }

{ /GeoCard2/Card faces 64 1 facWei 64 1 }

Tip:  GeoSelector's classic 3D system equivalent is the GeoSelect node.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The previous stage in the scene you want to affect.

Control (UI)

Knob (Scripting)

Default Value

Function

GeoSelector

Mask

mask_patterns

{lastmodified}

Specifies the mask pattern to match the prim names to affect. The default mask, {lastmodified}, saves a selection from whatever was changed by the previous node. A simple way to think of it is that {lastmodified} affects the node above. You can use standard glob-style variables, such as /*, to create masks or use individual prim names separated by spaces. For example, /GeoCube1 /GeoCard3 applies the transform to only those prims.

Tip:  You can also use the cog menu, the Viewer picker, or drag and drop paths from the Scene Graph to create masks.

Save Selection

save_selection

N/A

Click to save the currently selected faces or vertices, dependent on the 3D Viewer mode.

Restore Selection

restore_selection

N/A

Click to restore the selected faces or vertices saved in the node.