Set Component Selection
selection.set_componentsSelect vertices, edges, or faces in Maya using component notation like 'pCube1.vtx[0:10]'. Add to or remove from existing selection.
Instructions
Select mesh components (vertices, edges, or faces) using Maya notation (e.g., 'pCube1.vtx[0:10]', 'pSphere1.e[5]', 'pPlane1.f[0:99]').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"components": "<components>"
},
"name": "selection.set_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Add to existing selection | |
| deselect | No | Remove from selection | |
| components | Yes | Component specifications (e.g., ['pCube1.vtx[0:7]', 'pCube1.f[0]']) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| errors | Yes | ||
| selection | Yes | ||
| truncated | No | ||
| total_count | No | ||
| _size_warning | No | ||
| _original_size | No | ||
| _truncated_size | No |