Add Sketch External
add_sketch_externalProject external edges, faces, or vertices into a sketch as construction geometry, anchoring sketches to upstream FreeCAD features so constraints survive edits like pad-length changes.
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 |