add_constraint
Add geometric constraints like coincident, parallel, or tangent between sketch entities to define relationships and control geometry in Fusion 360 CAD designs.
Instructions
Add a geometric constraint in the active sketch. Entities are referenced by index within the sketch.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| constraint_type | Yes | ||
| entity_one | No | Index of the first sketch entity | |
| entity_two | No | Index of the second sketch entity (not needed for fix/horizontal/vertical) | |
| symmetry_line | No | Index of the symmetry line (only for symmetry constraint) | |
| sketch_name | No | Sketch name (default: most recent) |