Set Mesh Selection
set_mesh_selectionReplace point, polygon, or edge selections on an editable mesh by specifying indices. Clears existing selection of the chosen kind before applying new ones.
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. |