Add Sketch External
add_sketch_externalProjects external edges, faces, or vertices into a sketch as construction geometry so constraints stay anchored to upstream features and survive dimensional 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).
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": {
"sketch": "<sketch>",
"ref": "<ref>"
},
"name": "add_sketch_external"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| sketch | Yes | ||
| workspace | No | Run this call in this named workspace |