edit_sketch
Reopen an existing sketch to edit dimensions, relations, or geometry without rebuilding the part.
Instructions
Reabrir un croquis existente para editarlo (agregar cotas, relaciones, o geometría) SIN reconstruir la pieza desde cero. Tras reabrir, las herramientas add_sketch_dimension / add_sketch_relation / create_line funcionan igual que en un croquis recién creado.
Uso típico CSWA: parametrizaste el Tool Block con cotas A/B/C; para ajustar otra arista, reabre el croquis con edit_sketch, agrega/edita, y sal con la siguiente operación (extrude/etc.) para fijar el cambio.
[en: Reopen an existing sketch for editing (dims, relations, geometry) without rebuilding the part. After reopening, add_sketch_dimension / add_sketch_relation / create_line behave as on a fresh sketch.]
Args: sketch_name: exact sketch name, e.g. "Croquis1".
Returns {name, editing: True}. The sketch stays OPEN — you MUST exit it (extrude_sketch or another sketch-consuming op) to lock the changes in; a rebuild while open will exit it on SW 2026 ES.
Related: create_sketch (new sketch); modify_dimension (drive a named cota without even reopening).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch_name | Yes |