add_sketch_external
Projects external edges, faces, or vertices into a sketch as construction geometry, so constraints stay anchored to upstream features and survive edits.
Instructions
Project an external edge/face/vertex into a sketch as construction geometry.
ref: {handle, edge: tag|'EdgeN'} (or face/vertex variant; or {handle, tag} where tag is e_/f_ prefixed). The projected element gets a negative geom index so subsequent constraints can reference it. Use this to make a sketch that stays anchored to upstream geometry (e.g. a hole 5mm from a tagged edge that survives pad-length edits).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| sketch | Yes |