Set Mesh Selection
set_mesh_selectionReplaces point, polygon, or edge selections on an editable mesh, clearing the existing channel first. Use indices to specify selected elements and pair with get_mesh to read results.
Instructions
Replace the point / polygon / edge BaseSelect on an editable mesh. Existing selection of the specified kind is cleared first. Pair with get_mesh using include:['selections'] to read the same channels back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which selection channel to replace. | |
| handle | Yes | Editable target (PointObject / PolygonObject). | |
| indices | Yes | Indices to mark selected. |